Re: Can I use the Thrift API to scan with filters?

2014-11-25 Thread Néstor Boscán
Hi Thanks for the quick replies. I've tried to apply the filters but I get in the Thrift server log screen: SingleColumnValueFilter('familycolumn', 'column', =, 'value') => Invalid comparator SingleColumnValueFilter('familycolumn', 'column', EQUAL, 'value') => Invalid comparator SingleColumnValu

Re: Can I use the Thrift API to scan with filters?

2014-11-24 Thread Stack
On Mon, Nov 24, 2014 at 6:06 PM, Bharath Vissapragada wrote: > Yes, you can. Did you try the scannerOpenWithScan() call? It takes a TScan > as input and you can build it with a filterString. Closest examples I could > find are [1] and [2] but I believe its not difficult to extend these. > > [1]

Re: Can I use the Thrift API to scan with filters?

2014-11-24 Thread Bharath Vissapragada
Yes, you can. Did you try the scannerOpenWithScan() call? It takes a TScan as input and you can build it with a filterString. Closest examples I could find are [1] and [2] but I believe its not difficult to extend these. [1] https://github.com/apache/hbase/blob/master/hbase-thrift/src/test/java/o

Can I use the Thrift API to scan with filters?

2014-11-24 Thread Néstor Boscán
Hi I've been searching for Thrift Java API examples with filters but can't find any. Does the current Thrift API supports it? Regards, Néstor