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

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/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
SERVERNAME =
6
PORT =
7
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'},
  SERVERNAME => {:type => ::Thrift::Types::STRING, :name => 'serverName', :binary => true},
  PORT => {:type => ::Thrift::Types::I32, :name => 'port'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



89
# File 'lib/hbase/hbase_types.rb', line 89

def struct_fields; FIELDS; end

#validateObject



91
92
# File 'lib/hbase/hbase_types.rb', line 91

def validate
end