Class: Apache::Hadoop::Hbase::Thrift::BatchMutation

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

Overview

A BatchMutation object is used to apply a number of Mutations to a single row.

Constant Summary collapse

ROW =
1
MUTATIONS =
2
FIELDS =
{
  ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
  MUTATIONS => {:type => ::Thrift::Types::LIST, :name => 'mutations', :element => {:type => ::Thrift::Types::STRUCT, :class => Apache::Hadoop::Hbase::Thrift::Mutation}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end