hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Cardoso <jonathancar...@gmail.com>
Subject Re: Pagination with HBase
Date Thu, 01 Aug 2013 17:57:41 GMT
By anil's links I guess what I should use is PageFilter instead of
ColumnPaginationFilter.

*Jonathan Cardoso** **
Universidade Federal de Goias*


2013/8/1 Jonathan Cardoso <jonathancardos@gmail.com>

> Thanks! I've tested ColumnPaginationFilter but It's exactly what I need.
>
> Correct me if I'm wrong please, but ColumnPaginationFilter filters the
> columns of the result, how many of them will be retrieved based on the
> settings of 'limit' and 'offset' properties.
>
> But I need to make a Scan and get only the first X rows, not the first X
> columns
>
> *Jonathan Cardoso** **
> Universidade Federal de Goias*
>
>
> 2013/8/1 anil gupta <anilgupta84@gmail.com>
>
>> If you need more insight into HBase Pagination, these link might help you:
>> http://search-hadoop.com/m/feqnAUeLR1
>> http://search-hadoop.com/m/m5zM2rTSkb
>>
>>
>> On Thu, Aug 1, 2013 at 10:18 AM, Pavan Sudheendra <pavan0591@gmail.com
>> >wrote:
>>
>> > @Jonathan Ted Yu is right! Ignore my mail :)
>> >
>> > On Thu, Aug 1, 2013 at 10:46 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>> > > Take a look at ColumnPaginationFilter.java and its unit test.
>> > >
>> > > Cheers
>> > >
>> > > On Thu, Aug 1, 2013 at 10:01 AM, Jonathan Cardoso
>> > > <jonathancardos@gmail.com>wrote:
>> > >
>> > >> Hi!
>> > >>
>> > >> Is there a way to scan a HBase table getting, for example, the first
>> 100
>> > >> results, then later get the next 100 and so on... Just like in SQL
>> we do
>> > >> with LIMIT and OFFSET?
>> > >>
>> > >>
>> > >> *Jonathan Cardoso** **
>> > >> Universidade Federal de Goias*
>> > >>
>> >
>> >
>> >
>> > --
>> > Regards-
>> > Pavan
>> >
>>
>>
>>
>> --
>> Thanks & Regards,
>> Anil Gupta
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message