alibaba / innodb-java-reader

A library and command-line tool to access MySQL InnoDB data file directly in Java
Apache License 2.0
462 stars 115 forks source link

多页面查找的示例 #11

Open snails-Jie opened 3 years ago

snails-Jie commented 3 years ago

在项目中,我找到都是叶子都在根页的例子,没有找到分页的例子。请问项目有提供这样的例子吗? image 这个应该是分页之后执行的逻辑吧

neoremind commented 3 years ago

@snails-Jie 具体的使用场景是什么?看图没有太明白。

snails-Jie commented 3 years ago

我就是想咨询一下,innodb-java-reader有提供多页查询的例子吗?我跑的几个例子都是单页的

neoremind commented 3 years ago

多次调用 reader.queryByPageNumber(id) 就可以的,每次查询的时间复杂度都是树高。