提交 805d71bd authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 83a076d6
...@@ -18,13 +18,14 @@ import org.h2.result.SearchRow; ...@@ -18,13 +18,14 @@ import org.h2.result.SearchRow;
* The cursor implementation for the b tree index. * The cursor implementation for the b tree index.
*/ */
public class BtreeCursor implements Cursor { public class BtreeCursor implements Cursor {
private BtreeIndex index;
private final Session session;
private final BtreeIndex index;
private final SearchRow last;
private BtreePosition top; private BtreePosition top;
private SearchRow currentSearchRow; private SearchRow currentSearchRow;
private Row currentRow; private Row currentRow;
private boolean first; private boolean first;
private SearchRow last;
private Session session;
BtreeCursor(Session session, BtreeIndex index, SearchRow last) { BtreeCursor(Session session, BtreeIndex index, SearchRow last) {
this.session = session; this.session = session;
......
...@@ -27,7 +27,7 @@ import org.h2.value.Value; ...@@ -27,7 +27,7 @@ import org.h2.value.Value;
import org.h2.value.ValueNull; import org.h2.value.ValueNull;
/** /**
* This is the most common type of index, a b tree index. * This is the most common type of index, a btree index.
* The index structure is: * The index structure is:
* <ul> * <ul>
* <li>There is one {@link BtreeHead} that points to the root page. * <li>There is one {@link BtreeHead} that points to the root page.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论