Class: HbaseClient::Thrift::TRowResult

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hbase-client/thrift/hbase_types.rb

Overview

Holds row name and then a map of columns to cells.

Constant Summary collapse

ROW =
1
COLUMNS =
2
SORTEDCOLUMNS =
3
FIELDS =
{
  ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
  COLUMNS => {:type => ::Thrift::Types::MAP, :name => 'columns', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::HbaseClient::Thrift::TCell}, :optional => true},
  SORTEDCOLUMNS => {:type => ::Thrift::Types::LIST, :name => 'sortedColumns', :element => {:type => ::Thrift::Types::STRUCT, :class => ::HbaseClient::Thrift::TColumn}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



195
# File 'lib/hbase-client/thrift/hbase_types.rb', line 195

def struct_fields; FIELDS; end

#validateObject



197
198
# File 'lib/hbase-client/thrift/hbase_types.rb', line 197

def validate
end