(Going further down the path I believe J-D was heading), no, its not possible to change the sort-order server-side, not without subclassing regionserver class, but you might be able client-side to give the RowResult to a new SortedMap, one that has a different comparator; e.g. one that sorts the results by timestamp.

St.Ack



Jean-Daniel Cryans wrote:
sishen,

Do you mean that you want a way to do something like RowResult.values() that
returns cells sorted by timestamps (or something else)?

J-D

On Sat, Oct 18, 2008 at 11:28 AM, Dingding Ye <[EMAIL PROTECTED]> wrote:

Hi.

The default results returned by getRow/Scanner/else is ordered by the key.

Is it possible to set other sort method such as timestamp?

Thanks for the help.

Best regards.

sishen



Reply via email to