Class: Apache::Hadoop::Hbase::Thrift::TCell
- Inherits:
-
Object
- Object
- Apache::Hadoop::Hbase::Thrift::TCell
- Includes:
- Thrift::Struct
- Defined in:
- lib/gen-rb/hbase_types.rb
Overview
TCell - Used to transport a cell value (byte[]) and the timestamp it was stored with together as a result for get and getRow methods. This promotes the timestamp of a cell to a first-class value, making it easy to take note of temporal data. Cell is used all the way from HStore up to HTable.
Constant Summary collapse
- VALUE =
1
- TIMESTAMP =
2
- FIELDS =
{ VALUE => {:type => ::Thrift::Types::STRING, :name => 'value'}, TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
27 |
# File 'lib/gen-rb/hbase_types.rb', line 27 def struct_fields; FIELDS; end |
#validate ⇒ Object
29 30 |
# File 'lib/gen-rb/hbase_types.rb', line 29 def validate end |