On Mon, Nov 24, 2014 at 6:06 PM, Bharath Vissapragada <bhara...@cloudera.com
> 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]
>
> https://github.com/apache/hbase/blob/master/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java#L540
> [2]
>
> https://github.com/apache/hbase/blob/master/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java#L64



To add to @Bharath's answer, see http://hbase.apache.org/book.html#thrift

St.Ack



>
>
> On Tue, Nov 25, 2014 at 6:49 AM, Néstor Boscán <nesto...@gmail.com> wrote:
>
> > 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
> >
>
>
>
> --
> Bharath Vissapragada
> <http://www.cloudera.com>
>

Reply via email to