Class: HBase::Cell

Inherits:
Object
  • Object
show all
Defined in:
lib/hbase/cell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, timestamp) ⇒ Cell

Returns a new instance of Cell.



5
6
7
# File 'lib/hbase/cell.rb', line 5

def initialize value, timestamp
  @value, @timestamp = value, timestamp
end

Instance Attribute Details

#timestampObject

Returns the value of attribute timestamp.



3
4
5
# File 'lib/hbase/cell.rb', line 3

def timestamp
  @timestamp
end

#valueObject

Returns the value of attribute value.



3
4
5
# File 'lib/hbase/cell.rb', line 3

def value
  @value
end