I cannot figure out how to use filters in the HBase REST interface (HBase 0.90.4-cdh3u3). The documentation just gives me a schema definition for a "string", but doesn't show how to use it.
So, I'm able to do this:
curl -v -H 'Content-Type: text/xml' -d '<Scanner startRow="ddo" stopRow="ddp" batch="1024"/>' 'http://hbasegw:8080/table/scanner'
and then retrieve with
curl -s -H "Content-Type: text/xml" http://hbasegw:8080/table/scanner/13293426893883128482b | tidy -i -q -xml
But now I want to use a SingleColumnValueFilter and have to encode that somehow in the XML. Does anyone have an example for this?
Thanks, Mario
endRow
instead ofstopRow
in the Scanner XML. – André Staltz