Class: Apache::Hadoop::Hbase::Thrift::TRowResult

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

Overview

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

Constant Summary collapse

ROW =
1
COLUMNS =
2
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 => Apache::Hadoop::Hbase::Thrift::TCell}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



144
# File 'lib/massive_record/adapters/thrift/hbase/hbase_types.rb', line 144

def struct_fields; FIELDS; end

#validateObject



146
147
# File 'lib/massive_record/adapters/thrift/hbase/hbase_types.rb', line 146

def validate
end