); $client->mutateRow( $t, $valid, $mutations ); */ // ==================================================================================================== $t = "event"; $flt = "PrefixFilter ('s99639118')"; $flt = "SingleColumnValueFilter ('info', 'age', =, '24')"; $flt = "SingleColumnValueFilter ('info', 'age', >=, 'binary:24')"; $flt = "SingleColumnValueFilter ('info', 'gender', =, 'binary:male')"; $flt = "MultipleColumnPrefixFilter ('gender')"; $flt = "PrefixFilter ('23') AND PageFilter (5)"; $t = "MyFirstTable"; $flt = "SingleColumnValueFilter ('info', 'age', =, 'binary:24') "; $scan = new TScan(array("filterString" => $flt)); //$scan = new TScan(); $scanner = $client->scannerOpenWithScan($t, $scan); echo "Before {$flt} <br>"; while ($result = $client->scannerGet($scanner)) { var_dump($result[0]->row); } echo "column families in {$t}:\n"; $descriptors = $client->getColumnDescriptors($t); asort($descriptors); foreach ($descriptors as $col) { echo " column: {$col->name}, maxVer: {$col->maxVersions}\n"; } exit("exit..."); # non-utf8 is not allowed in row names try { $mutations = array(new Mutation(array('column' => 'entry:foo', 'value' => $invalid))); $client->mutateRow($t, $invalid, $mutations);