简体   繁体   中英

Are there order guarantee with HBase Scan result

我会问,当我迭代ResultScanner(Scan result)时,行键是否有顺序保证,较小的行键先于较大的行键?

Yes. As per https://hbase.apache.org/book.html#dm.sort :

All data model operations HBase return data in sorted order. First by row, then by ColumnFamily, followed by column qualifier, and finally timestamp (sorted in reverse, so newest records are returned first).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM