You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Sreeram Venkatasubramanian <Sr...@infosys.com> on 2016/01/05 16:57:45 UTC

Pagination of HBase Scan output

Hi,

 I am looking for options to batch the output of HBase scan with prefix filter, so that it can be paginated at the front end.

Please let me know if there recommended methods to do the same.

Thank you.

Sreeram=
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


Re: Pagination of HBase Scan output

Posted by Ted Yu <yu...@gmail.com>.
Please take a look
at hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PageFilter.java

You can combine PageFilter.java with PrefixFilter using FilterList

On Tue, Jan 5, 2016 at 7:57 AM, Sreeram Venkatasubramanian <
Sreeram_V@infosys.com> wrote:

> Hi,
>
>  I am looking for options to batch the output of HBase scan with prefix
> filter, so that it can be paginated at the front end.
>
> Please let me know if there recommended methods to do the same.
>
> Thank you.
>
> Sreeram=
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
> for the use of the addressee(s). If you are not the intended recipient,
> please
> notify the sender by e-mail and delete the original message. Further, you
> are not
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken
> every reasonable precaution to minimize this risk, but is not liable for
> any damage
> you may sustain as a result of any virus in this e-mail. You should carry
> out your
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the
> right to monitor and review the content of all messages sent to or from
> this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>