Class: HbaseClient::Thrift::Hbase::MutateRows_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
ATTRIBUTES =
3
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}},
  # 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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end