Home  >  Article  >  Backend Development  >  php透过thrift读取hbase数据之scanner学习

php透过thrift读取hbase数据之scanner学习

WBOY
WBOYOriginal
2016-06-13 13:25:23722browse

php通过thrift读取hbase数据之scanner学习
在使用scannerWithStop方法时遇到一个问题,代码如下:

$tableName = "table";
$beginRow = 0000001;
$endRow = 0000003;
$column = "column:";
$scanner = $hbaseClient -> scannerWithStop($tableName,$beginRow,$endRow,$column);

当获取数据条目小于等于3时,获取数据条目是正确的,也就是说$endRow

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn