【发布时间】:2016-08-19 13:12:37
【问题描述】:
我可以从一个表中获取所有行
curl -H "Accept: application/json" http://localhost:8080/table/*
我可以限制行数
curl -H "Accept: application/json" http://localhost:8080/table/*?limit=10
问题是插入的行总是前 10 行,而不是最后 10 行。
我想得到颠倒的顺序,特别是结合limit参数。
我知道 setReversed 参数,并且在 HBase shell 中可以正常工作:
scan 'table', {LIMIT => 10, REVERSED=> TRUE}
【问题讨论】:
标签: rest hadoop hbase stargate nosql