hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Panayotis Antonopoulos <antonopoulos...@hotmail.com>
Subject RE: Pagination through families / columns?
Date Thu, 12 May 2011 22:08:07 GMT

If I understand what you need, there is the ColumnPaginationFilter that does exactly what
you mention.

> From: matt@imageshack.net
> Subject: Pagination through families / columns?
> Date: Thu, 12 May 2011 13:49:16 -0700
> To: user@hbase.apache.org
> 
> Hey Guys, 
> 
> Not sure if this functionality is available or not, if its not consider this a feature
request :).
> 
> The main summary is that rows can contain massive amounts of data, so we can narrow
> selection by family. However, if the family is large enough is there a way to grab parts
of 
> the family using and offset and a limit? To compound it further, what if the column names
> are dynamic.
> 
> Example
> 
> table 'foo'
>   family 'bar'
>     column '1111'
>     column '1112'
>     column '1113'
>     ...
>    column '9999'
> 
> 
> The request I would like to make is 
> 
> 'get', 'foo', 'somerowid' , 'bar:', {LIMIT => 10}
> 
> After discovering column name and cursing through
> 
> 'get', 'foo', 'somerowid' , 'bar:', {LIMIT => 10, OFFSET => '1121'} 
> or maybe 'get', 'foo', 'somerowid' , 'bar:1121', {LIMIT => 10}
> 
> Other thoughts would be if its reversible or not {ORDER => -1}, but more importantly

> available to the thrift client.
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message