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:
Michael Stack 2012-03-16 19:45:06 +00:00
parent 458a3ff092
commit 8a4c928de0
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ include Java
module Hbase
class Table
include HBaseConstants
attr_reader :table
def initialize(configuration, table_name, formatter)
@table = org.apache.hadoop.hbase.client.HTable.new(configuration, table_name)