Class: Apache::Hadoop::Hbase::Thrift::TRegionInfo

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

Overview

A TRegionInfo contains information about an HTable region.

Constant Summary collapse

STARTKEY =
1
ENDKEY =
2
ID =
3
NAME =
4
VERSION =
5
FIELDS =
{
  STARTKEY => {:type => ::Thrift::Types::STRING, :name => 'startKey', :binary => true},
  ENDKEY => {:type => ::Thrift::Types::STRING, :name => 'endKey', :binary => true},
  ID => {:type => ::Thrift::Types::I64, :name => 'id'},
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name', :binary => true},
  VERSION => {:type => ::Thrift::Types::BYTE, :name => 'version'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end