public function select($table, $row, $column = null, $filter = "") { $tscan_params = array(); if (!empty($filter)) { MMB::debug(" filter = {$filter} ## <br>"); $tscan_params["filterString"] = $filter; } $scan = new \TScan($tscan_params); $scanner = $this->_hbaseclient->scannerOpenWithScan("{$table}", $scan); $res = array(); $idx = 0; while ($row = $this->_hbaseclient->scannerGet($scanner)) { $row = $row[0]; $res[$idx]["rowkey"] = $row->row; foreach ($row->columns as $qualifier => $cell) { $column_name = preg_replace("/^[\\w]+:/", "", $qualifier); $res[$idx][$column_name] = $cell->value; } $idx++; } return $res; }