Class: HbaseClient::Thrift::Hbase::GetVerTs_args

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

Constant Summary collapse

TABLENAME =
1
ROW =
2
COLUMN =
3
TIMESTAMP =
4
NUMVERSIONS =
5
ATTRIBUTES =
6
FIELDS =
{
  # name of table
  TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
  # row key
  ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
  # column name
  COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
  # timestamp
  TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
  # number of versions to retrieve
  NUMVERSIONS => {:type => ::Thrift::Types::I32, :name => 'numVersions'},
  # Get attributes
  ATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'attributes', :key => {:type => ::Thrift::Types::STRING, :binary => true}, :value => {:type => ::Thrift::Types::STRING, :binary => true}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



1714
1715
# File 'lib/hbase-client/thrift/hbase.rb', line 1714

def validate
end