You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/03/16 20:45:34 UTC
svn commit: r1301716 - /hbase/branches/0.94/src/main/ruby/hbase/table.rb
Author: stack
Date: Fri Mar 16 19:45:33 2012
New Revision: 1301716
URL: http://svn.apache.org/viewvc?rev=1301716&view=rev
Log:
HBASE-5592 Make it easier to get a table from shell
Modified:
hbase/branches/0.94/src/main/ruby/hbase/table.rb
Modified: hbase/branches/0.94/src/main/ruby/hbase/table.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/ruby/hbase/table.rb?rev=1301716&r1=1301715&r2=1301716&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/ruby/hbase/table.rb (original)
+++ hbase/branches/0.94/src/main/ruby/hbase/table.rb Fri Mar 16 19:45:33 2012
@@ -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)