public class IndexSegment.ImmutableLeafCursor extends Object implements ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
Constructor and Description |
---|
IndexSegment.ImmutableLeafCursor(byte[] key) |
IndexSegment.ImmutableLeafCursor(SeekEnum where) |
Modifier and Type | Method and Description |
---|---|
IndexSegment.ImmutableLeafCursor |
clone()
Clone the cursor.
|
IndexSegment.ImmutableNodeFactory.ImmutableLeaf |
first()
Return the first leaf.
|
IndexSegment |
getBTree()
The backing B+Tree.
|
IndexSegment.ImmutableNodeFactory.ImmutableLeaf |
last()
Return the last leaf.
|
IndexSegment.ImmutableNodeFactory.ImmutableLeaf |
leaf()
The current leaf (always defined).
|
IndexSegment.ImmutableNodeFactory.ImmutableLeaf |
next()
Return the next leaf in the natural order of the B+Tree.
|
IndexSegment.ImmutableNodeFactory.ImmutableLeaf |
prior()
Return the previous leaf in the natural order of the B+Tree.
|
IndexSegment.ImmutableNodeFactory.ImmutableLeaf |
seek(byte[] key)
Find the leaf that would span the key.
|
IndexSegment.ImmutableNodeFactory.ImmutableLeaf |
seek(ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf> src)
Position this cursor on the same leaf as the given cursor.
|
public IndexSegment.ImmutableLeafCursor(SeekEnum where)
public IndexSegment.ImmutableLeafCursor(byte[] key)
public IndexSegment.ImmutableNodeFactory.ImmutableLeaf leaf()
ILeafCursor
leaf
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
public IndexSegment getBTree()
ILeafCursor
getBTree
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
public IndexSegment.ImmutableLeafCursor clone()
ILeafCursor
clone
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
clone
in class Object
public IndexSegment.ImmutableNodeFactory.ImmutableLeaf seek(byte[] key)
ILeafCursor
seek
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
key
- The keynull
.public IndexSegment.ImmutableNodeFactory.ImmutableLeaf seek(ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf> src)
ILeafCursor
seek
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
src
- A cursor.public IndexSegment.ImmutableNodeFactory.ImmutableLeaf first()
ILeafCursor
first
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
public IndexSegment.ImmutableNodeFactory.ImmutableLeaf last()
ILeafCursor
last
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
public IndexSegment.ImmutableNodeFactory.ImmutableLeaf next()
ILeafCursor
next
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
null
iff there is no next
leaf.public IndexSegment.ImmutableNodeFactory.ImmutableLeaf prior()
ILeafCursor
prior
in interface ILeafCursor<IndexSegment.ImmutableNodeFactory.ImmutableLeaf>
null
iff there is no
previous leaf.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.