Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
查询hbase中行键在rowKeys中的行的更快方法?
rowKeys 是一个数组,如:
rowKeys=[1,2,4,5,6,34,223,113]
(如sql中的)
在 Java 中,您可以将IN子句构建为RowFilter的FilterList - 带有标志。MUST_PASS_ONE
IN
MUST_PASS_ONE
请参见此处的示例。