Class: OkHbase::Table

Inherits:
Object
  • Object
show all
Includes:
Concerns::Table
Defined in:
lib/ok_hbase/table.rb

Constant Summary

Constants included from Concerns::Table

Concerns::Table::SCANNER_DEFAULTS

Instance Attribute Summary

Attributes included from Concerns::Table

#connection, #table_name

Instance Method Summary collapse

Methods included from Concerns::Table

#_column_family_names, #_make_row, #_scanner, #batch, #cells, connection, connection=, #counter_dec, #counter_get, #counter_inc, #counter_set, #delete, #families, #put, #regions, #row, #rows, #scan

Constructor Details

#initialize(name, connection) ⇒ Table

Returns a new instance of Table.



5
6
7
8
# File 'lib/ok_hbase/table.rb', line 5

def initialize(name, connection)
  @connection = connection
  @table_name = name
end