HBASE mutateRows PHP示例

时间:2016-06-23 18:27:25

标签: php hbase thrift

我想使用php在HBase表中变异(更新)一个行数组。其中一个选项是循环遍历每个rowKey并使用' mutateRow 'thrift方法。这种方法耗费时间和资源。

我发现php thrift API中有一个' mutateRows '方法,但根本没有记录。我想知道每个rowKey变异是如何传递的,因为' mutateRows '接受以下参数' mutateRows($ tableName,array $ rowBatches,array $ attributes)'

谢谢。

0 个答案:

没有答案