Class: Hypertable::ThriftGen::Cell

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hypertable/gen-rb/client_types.rb

Overview

Defines a table cell

<dl>

<dt>key</dt>
<dd>Specifies the cell key</dd>

<dt>value</dt>
<dd>Value of a cell. Currently a sequence of uninterpreted bytes.</dd>

</dl>

Constant Summary collapse

KEY =
1
VALUE =
2
FIELDS =
{
  KEY => {:type => ::Thrift::Types::STRUCT, :name => 'key', :class => Hypertable::ThriftGen::Key},
  VALUE => {:type => ::Thrift::Types::STRING, :name => 'value', :binary => true, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



285
# File 'lib/hypertable/gen-rb/client_types.rb', line 285

def struct_fields; FIELDS; end

#validateObject



287
288
# File 'lib/hypertable/gen-rb/client_types.rb', line 287

def validate
end