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

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/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
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}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



107
# File 'lib/thrift/hbase_types.rb', line 107

def struct_fields; FIELDS; end

#validateObject



109
110
# File 'lib/thrift/hbase_types.rb', line 109

def validate
end