Class: Google::Cloud::Bigtable::SampleRowKey
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::SampleRowKey
- Defined in:
- lib/google/cloud/bigtable/sample_row_key.rb
Overview
- offset_bytes : Approximate total storage space used by all rows in the table which precede
row_key
. Buffering the contents of all rows between two subsequent samples would require space roughly equal to the difference in theiroffset_bytes
fields.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
Sample row key.
-
#offset ⇒ Integer
readonly
Row offset in bytes.
Instance Attribute Details
#key ⇒ String (readonly)
Returns Sample row key.
52 53 54 |
# File 'lib/google/cloud/bigtable/sample_row_key.rb', line 52 def key @key end |
#offset ⇒ Integer (readonly)
Returns Row offset in bytes.
55 56 57 |
# File 'lib/google/cloud/bigtable/sample_row_key.rb', line 55 def offset @offset end |