You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2012/10/23 00:56:54 UTC
svn commit: r1401115 -
/hbase/trunk/hbase-server/src/main/ruby/shell/commands/deleteall.rb
Author: tedyu
Date: Mon Oct 22 22:56:54 2012
New Revision: 1401115
URL: http://svn.apache.org/viewvc?rev=1401115&view=rev
Log:
HBASE-6972 HBase Shell deleteall should not require column to be defined (Ricky)
Modified:
hbase/trunk/hbase-server/src/main/ruby/shell/commands/deleteall.rb
Modified: hbase/trunk/hbase-server/src/main/ruby/shell/commands/deleteall.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/ruby/shell/commands/deleteall.rb?rev=1401115&r1=1401114&r2=1401115&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/ruby/shell/commands/deleteall.rb (original)
+++ hbase/trunk/hbase-server/src/main/ruby/shell/commands/deleteall.rb Mon Oct 22 22:56:54 2012
@@ -38,11 +38,13 @@ t to table 't1', the corresponding comma
EOF
end
- def command(table, row, column, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP)
+ def command(table, row, column,
+ timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP)
deleteall(table(table), row, column, timestamp)
end
- def deleteall(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP)
+ def deleteall(table, row, column = nil,
+ timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP)
format_simple_command do
table._deleteall_internal(row, column, timestamp)
end