I am using SingleColumnValueFilter, scan, getScanner, and retrieving the values from hbase table. The values being resulted is sorted in the row Id-vise. But I want the result to be sorted in the value-vise.
Example:
Hbase Table:
RowId | col1:amount | col1:balance
1 5000 1000
2 3000 1500
3 4000 500
Now, When I select amount in the Web UI (which I customized).
Then, Result should be sorted in amount-vise.
Expected Result after chosen amount column:
RowId | **col1:amount** | col1:balance
2 3000 1500
3 4000 500
1 5000 1000