See the TestFromClientSide unit test. It has lots of examples using filters.
Yes, you can narrow your Scan by specifying start and stop rows when you create the Scan object -- http://hbase.apache.org/docs/r0.20.6/api/org/apache/hadoop/hbase/client/Scan.html -- or by specifying filters on the Scan such as the prefix filter: http://hbase.apache.org/docs/r0.20.6/api/org/apache/hadoop/hbase/filter/PrefixFilter.html St.Ack On Mon, Aug 9, 2010 at 11:40 AM, Gagandeep Singh <[email protected]> wrote: > Thanks for the information Jeff. It means that MultiGet is yet to be > released. Can you please point me to some samples of how to use the filters. > Can we mention specific key list or key ranges to scan operation. > > Thanks, > Gagan > > > > On Mon, Aug 9, 2010 at 12:40 PM, Jeff Hammerbacher <[email protected]>wrote: > >> Hey Gagan, >> >> If you have a list of row keys, the MultiGet API being worked on at >> https://issues.apache.org/jira/browse/HBASE-1845 would be of use. As it >> currently stands, for a small number of keys, you will probably want to >> make >> the requests in parallel on the client. For a larger number of keys, a scan >> with a filter would make sense. >> >> Later, >> Jeff >> >> On Sun, Aug 8, 2010 at 11:22 PM, Gagandeep Singh < >> [email protected] >> > wrote: >> >> > Is there any other way of doing it? >> >
