Class: HbaseClient::Thrift::Mutation
- Inherits:
-
Object
- Object
- HbaseClient::Thrift::Mutation
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hbase-client/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
- 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_fields ⇒ Object
112 |
# File 'lib/hbase-client/thrift/hbase_types.rb', line 112 def struct_fields; FIELDS; end |
#validate ⇒ Object
114 115 |
# File 'lib/hbase-client/thrift/hbase_types.rb', line 114 def validate end |