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 2013/08/30 23:45:35 UTC
svn commit: r1519094 - in /hbase/branches/0.96/hbase-server/src/main/ruby:
hbase/table.rb shell/commands/scan.rb
Author: stack
Date: Fri Aug 30 21:45:35 2013
New Revision: 1519094
URL: http://svn.apache.org/r1519094
Log:
HBASE-9398 Get HBASE-9190 to branck 0.95
Modified:
hbase/branches/0.96/hbase-server/src/main/ruby/hbase/table.rb
hbase/branches/0.96/hbase-server/src/main/ruby/shell/commands/scan.rb
Modified: hbase/branches/0.96/hbase-server/src/main/ruby/hbase/table.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/ruby/hbase/table.rb?rev=1519094&r1=1519093&r2=1519094&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/ruby/hbase/table.rb (original)
+++ hbase/branches/0.96/hbase-server/src/main/ruby/hbase/table.rb Fri Aug 30 21:45:35 2013
@@ -478,7 +478,7 @@ EOF
end
# Make a String of the passed kv
- # Intercept cells whose format we know such as the info:regioninfo in .META.
+ # Intercept cells whose format we know such as the info:regioninfo in hbase:meta
def to_string(column, kv, maxlength = -1)
if is_meta_table?
if column == 'info:regioninfo' or column == 'info:splitA' or column == 'info:splitB'
Modified: hbase/branches/0.96/hbase-server/src/main/ruby/shell/commands/scan.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/ruby/shell/commands/scan.rb?rev=1519094&r1=1519093&r2=1519094&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/ruby/shell/commands/scan.rb (original)
+++ hbase/branches/0.96/hbase-server/src/main/ruby/shell/commands/scan.rb Fri Aug 30 21:45:35 2013
@@ -38,8 +38,8 @@ Filter Language document attached to the
Some examples:
- hbase> scan '.META.'
- hbase> scan '.META.', {COLUMNS => 'info:regioninfo'}
+ hbase> scan 'hbase:meta'
+ hbase> scan 'hbase:meta', {COLUMNS => 'info:regioninfo'}
hbase> scan 't1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'}
hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804, 1303668904]}
hbase> scan 't1', {FILTER => "(PrefixFilter ('row2') AND