Class: Mandy::Stores::HBase
- Inherits:
-
Object
- Object
- Mandy::Stores::HBase
- Defined in:
- lib/mandy/stores/hbase.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #get(key) ⇒ Object
-
#initialize(options) ⇒ HBase
constructor
A new instance of HBase.
- #put(key, values) ⇒ Object
Constructor Details
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/mandy/stores/hbase.rb', line 4 def @options end |
Instance Method Details
#==(other) ⇒ Object
19 20 21 |
# File 'lib/mandy/stores/hbase.rb', line 19 def ==(other) self.class == other.class && self. == other. end |
#get(key) ⇒ Object
11 12 13 |
# File 'lib/mandy/stores/hbase.rb', line 11 def get(key) @table.get(key) end |
#put(key, values) ⇒ Object
15 16 17 |
# File 'lib/mandy/stores/hbase.rb', line 15 def put(key, values) @table.put(key, values) end |