Class: HbaseClient::Thrift::Hbase::MutateRowsTs_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
ROWBATCHES =
2
TIMESTAMP =
3
ATTRIBUTES =
4
FIELDS =
{
  # name of table
  TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :binary => true},
  # list of row batches
  ROWBATCHES => {:type => ::Thrift::Types::LIST, :name => 'rowBatches', :element => {:type => ::Thrift::Types::STRUCT, :class => ::HbaseClient::Thrift::BatchMutation}},
  # 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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end