Class: Apache::Hadoop::Hbase::Thrift::Mutation

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

Overview

A Mutation object is used to either update or delete a column-value.

Constant Summary collapse

ISDELETE =
1
COLUMN =
2
VALUE =
3
WRITETOWAL =
4
FIELDS =
{
  ISDELETE => {:type => ::Thrift::Types::BOOL, :name => 'isDelete', :default => false},
  COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column', :binary => true},
  VALUE => {:type => ::Thrift::Types::STRING, :name => 'value', :binary => true},
  WRITETOWAL => {:type => ::Thrift::Types::BOOL, :name => 'writeToWAL', :default => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



112
# File 'lib/hbase/hbase_types.rb', line 112

def struct_fields; FIELDS; end

#validateObject



114
115
# File 'lib/hbase/hbase_types.rb', line 114

def validate
end