Hi,
The easiest way to do this is with the start() and finish() helpers:
$ColumnFamily->start('column')->finish('column')->load();
although behaviour may be different depending on the column family
etc. that you're querying (order preserving partitioner or timeuuid
secondary index would be ideal).
If you don't know what your page boundaries are in advance keep in
mind Thrift's start/finish are inclusive of the columns in the range,
so to paginate it's best to grab your page start/finish + 1 and pop
the +1 as the start for your next page.
eg a really simple example, something like:
// 10 to a page..
$ColumnFamily->start('column')->limit('11')->load();
$newStart = array_pop($ColumnFamily);
echo $ColumnFamiliy->toJSON();
// .. next page
$ColumnFamily->start($newStart)->limit('11')->load();
// ... etc
If this is too rigid PandraCore::getRangeKeys() may be another option
but a touch more complicated.
regards
-Michael