Class: Hypertable::ThriftGen::Cell
- Inherits:
-
Object
- Object
- Hypertable::ThriftGen::Cell
- Includes:
- Thrift::Struct
- Defined in:
- lib/hypertable/gen-rb/client_types.rb
Overview
Defines a table cell
<dl>
<dt>row_key</dt>
<dd>Specifies the row key. Note, it cannot contain null characters.
If a row key is not specified in a return cell, it's assumed to
be the same as the previous cell</dd>
<dt>column_family</dt>
<dd>Specifies the column family</dd>
<dt>column_qualifier</dt>
<dd>Specifies the column qualifier. A column family must be specified.</dd>
<dt>value</dt>
<dd>Value of a cell. Currently a sequence of uninterpreted bytes.</dd>
<dt>timestamp</dt>
<dd>Nanoseconds since epoch for the cell<dd>
<dt>revision</dt>
<dd>A 64-bit revision number for the cell</dd>
<dt>flag</dt>
<dd>A 16-bit integer indicating the state of the cell</dd>
</dl>
Constant Summary collapse
- ROW_KEY =
1- COLUMN_FAMILY =
2- COLUMN_QUALIFIER =
3- VALUE =
4- TIMESTAMP =
5- REVISION =
6- FLAG =
7- FIELDS =
{ ROW_KEY => {:type => ::Thrift::Types::STRING, :name => 'row_key', :optional => true}, COLUMN_FAMILY => {:type => ::Thrift::Types::STRING, :name => 'column_family', :optional => true}, COLUMN_QUALIFIER => {:type => ::Thrift::Types::STRING, :name => 'column_qualifier', :optional => true}, VALUE => {:type => ::Thrift::Types::STRING, :name => 'value', :optional => true}, TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp', :optional => true}, REVISION => {:type => ::Thrift::Types::I64, :name => 'revision', :optional => true}, FLAG => {:type => ::Thrift::Types::I16, :name => 'flag', :default => 255, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
211 |
# File 'lib/hypertable/gen-rb/client_types.rb', line 211 def struct_fields; FIELDS; end |
#validate ⇒ Object
213 214 |
# File 'lib/hypertable/gen-rb/client_types.rb', line 213 def validate end |