Reference documentation and code samples for the google-cloud-bigtable class Google::Cloud::Bigtable::Row::Cell.
Cell
Row cell built from data chunks.
Inherits
- Object
Methods
#family
def family()
Returns the value of attribute family.
#initialize
def initialize(family, qualifier, timestamp, value, labels = []) -> Cell
Creates a row cell instance.
- family (String) — Column family name.
- qualifier (String) — Column cell qualifier name.
- timestamp (Integer) — Timestamp in microseconds.
- value (String) — Cell value.
- labels (Array<String>) — List of label array.
- (Cell) — a new instance of Cell
#labels
def labels()
Returns the value of attribute labels.
#qualifier
def qualifier()
Returns the value of attribute qualifier.
#timestamp
def timestamp()
Returns the value of attribute timestamp.
#to_i
def to_i() -> Integer
Converts a value to an integer.
- (Integer)
#to_time
def to_time(granularity = nil) -> Time | nil
Converts timestamp to Time instance.
-
granularity (Symbol) — Optional.
Valid granularity types are
:micros
,:millis
. Default is:millis
.
- (Time | nil)
#value
def value()
Returns the value of attribute value.