phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hafiz Mujadid <hafizmujadi...@gmail.com>
Subject Re: passing hbase scan start row in spark_phoenix
Date Tue, 11 Aug 2015 14:43:47 GMT
Yes I want to do pagination and I am confused how to achieve pagination?

On Tue, Aug 11, 2015 at 7:08 PM, Yuhao Bi <byh0831@gmail.com> wrote:

> Hi,
>
> Here is some official document which may help.
>
> 1.    http://phoenix.apache.org/skip_scan.html
> 2.    Wanna do some Pagination-like scan?
>      Please refer to  http://phoenix.apache.org/paged.html
>
> Thanks.
>
> 2015-08-11 20:47 GMT+08:00 Hafiz Mujadid <hafizmujadid00@gmail.com>:
>
>> Hi all!
>>
>>
>> Can we use spark_phoenix in a way just like in normal java api we can
>> pass start row to filter data as follow
>> *//creating a scan object with start and stop row keys*
>> *Scan scan = new Scan(Bytes.ToBytes("a.b.x|1"),Bytes.toBytes("a.b.x|2"); *
>>
>>
>>
>


-- 
Regards: HAFIZ MUJADID

Mime
View raw message