Class: HbaseClient::Thrift::Hbase::MutateRowTs_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
MUTATIONS =
3
TIMESTAMP =
4
ATTRIBUTES =
5
FIELDS =
{
  # name of table
  TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
  # row key
  ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
  # list of mutation commands
  MUTATIONS => {:type => ::Thrift::Types::LIST, :name => 'mutations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::HbaseClient::Thrift::Mutation}},
  # timestamp
  TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
  # Mutation 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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end