Re: HBase REST SingleColumnValueFilter

2012-02-16 Thread Andrew Purtell
I'm on the road. Let me circle back to this soon. Also, I filed https://issues.apache.org/jira/browse/HBASE-5417. Now that 0.92 has ParseFilter (with documentation) this seems a good way forward. If you're willing to use a patched version of the REST gateway we can get you up and running with

Re: HBase REST SingleColumnValueFilter

2012-02-16 Thread Mario Lassnig
Hi Andrew, thanks, I suspected something like this. I'm using the rest api from python, so I made a litte helper to construct a few example JSON representations, to get me on the right track. Now I patchwork the string together in python and it produces the same JSON representation as stringify

Re: HBase REST SingleColumnValueFilter

2012-02-16 Thread Andrew Purtell
Hi, One option is to build a Scan object and attach the filter construction you would like using the Java API:    Scan scan = new Scan();    Filter filter = new ... ;    scan.setFilter(filter);   and then use REST's model API to construct and submit the request:    ScannerModel model = Scanne