HBASE-5592 Make it easier to get a table from shell
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1301715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
458a3ff092
commit
8a4c928de0
|
@ -25,6 +25,7 @@ include Java
|
||||||
module Hbase
|
module Hbase
|
||||||
class Table
|
class Table
|
||||||
include HBaseConstants
|
include HBaseConstants
|
||||||
|
attr_reader :table
|
||||||
|
|
||||||
def initialize(configuration, table_name, formatter)
|
def initialize(configuration, table_name, formatter)
|
||||||
@table = org.apache.hadoop.hbase.client.HTable.new(configuration, table_name)
|
@table = org.apache.hadoop.hbase.client.HTable.new(configuration, table_name)
|
||||||
|
|
Loading…
Reference in New Issue