Reputation: 151
faster method to query the rows in hbase that row-keys are in rowKeys?
rowKeys is an array like:
rowKeys=[1,2,4,5,6,34,223,113]
(like sql in)
Upvotes: 0
Views: 604
Reputation: 5811
In Java you can build your IN
clause as a FilterList of RowFilter's - with MUST_PASS_ONE
flag.
See example here.
Upvotes: 1