public interface ILeafCursor<L extends Leaf> extends Cloneable
Modifier and Type | Method and Description |
---|---|
ILeafCursor<L> |
clone()
Clone the cursor.
|
L |
first()
Return the first leaf.
|
AbstractBTree |
getBTree()
The backing B+Tree.
|
L |
last()
Return the last leaf.
|
L |
leaf()
The current leaf (always defined).
|
L |
next()
Return the next leaf in the natural order of the B+Tree.
|
L |
prior()
Return the previous leaf in the natural order of the B+Tree.
|
L |
seek(byte[] key)
Find the leaf that would span the key.
|
L |
seek(ILeafCursor<L> src)
Position this cursor on the same leaf as the given cursor.
|
AbstractBTree getBTree()
L leaf()
L first()
L last()
L seek(byte[] key)
key
- The keynull
.IllegalArgumentException
- if the key is null
.L seek(ILeafCursor<L> src)
src
- A cursor.IllegalArgumentException
- if the argument is null
IllegalArgumentException
- if the argument is a cursor for a different
AbstractBTree
.ILeafCursor<L> clone()
L prior()
null
iff there is no
previous leaf.L next()
null
iff there is no next
leaf.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.