You'd have to hack it up into the thrift server, shouldn't be so bad
but there's no such doc.

J-D

On Thu, May 12, 2011 at 8:26 PM, Matthew Ward <[email protected]> wrote:
> Oh interesting, is there a way to access it via thrift (from PHP)? Are there 
> some docs I can read up on it?
>
> Thanks!
> -Matt
>
> On May 12, 2011, at 3:08 PM, Panayotis Antonopoulos wrote:
>
>>
>> If I understand what you need, there is the ColumnPaginationFilter that does 
>> exactly what you mention.
>>
>>> From: [email protected]
>>> Subject: Pagination through families / columns?
>>> Date: Thu, 12 May 2011 13:49:16 -0700
>>> To: [email protected]
>>>
>>> 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.
>>>
>>
>
>

Reply via email to