|
@@ -161,6 +161,10 @@ class HbaseApi(object):
|
|
|
def deleteColumn(self, cluster, tableName, row, column):
|
|
def deleteColumn(self, cluster, tableName, row, column):
|
|
|
return self.deleteColumns(cluster, tableName, smart_str(row), [smart_str(column)])
|
|
return self.deleteColumns(cluster, tableName, smart_str(row), [smart_str(column)])
|
|
|
|
|
|
|
|
|
|
+ def deleteAllRow(self, cluster, tableName, row, attributes):
|
|
|
|
|
+ client = self.connectCluster(cluster)
|
|
|
|
|
+ return client.deleteAllRow(tableName, smart_str(row), attributes)
|
|
|
|
|
+
|
|
|
def putRow(self, cluster, tableName, row, data):
|
|
def putRow(self, cluster, tableName, row, data):
|
|
|
client = self.connectCluster(cluster)
|
|
client = self.connectCluster(cluster)
|
|
|
mutations = []
|
|
mutations = []
|