HBASE-6972 HBase Shell deleteall should not require column to be defined (Ricky)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1401115 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c4b5f74d7
commit
871618c19b
|
@ -38,11 +38,13 @@ t to table 't1', the corresponding command would be:
|
||||||
EOF
|
EOF
|
||||||
end
|
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)
|
deleteall(table(table), row, column, timestamp)
|
||||||
end
|
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
|
format_simple_command do
|
||||||
table._deleteall_internal(row, column, timestamp)
|
table._deleteall_internal(row, column, timestamp)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue