com.bigdata.btree
Class AbstractBTreeTupleCursor.ReadOnlyBTreeTupleCursor<E>
java.lang.Object
com.bigdata.btree.AbstractBTreeTupleCursor<BTree,Leaf,E>
com.bigdata.btree.AbstractBTreeTupleCursor.ReadOnlyBTreeTupleCursor<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- ITupleCursor<E>, ITupleCursor2<E>, ITupleIterator<E>, Iterator<ITuple<E>>
- Direct Known Subclasses:
- AbstractBTreeTupleCursor.MutableBTreeTupleCursor
- Enclosing class:
- AbstractBTreeTupleCursor<I extends AbstractBTree,L extends Leaf,E>
public static class AbstractBTreeTupleCursor.ReadOnlyBTreeTupleCursor<E>
- extends AbstractBTreeTupleCursor<BTree,Leaf,E>
An ITuple that directly supports forward and reverse cursor
operations on a local BTree.
- Version:
- $Id: AbstractBTreeTupleCursor.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
| Methods inherited from class com.bigdata.btree.AbstractBTreeTupleCursor |
assertCursorPositionDefined, currentKey, first, firstPosition, getExclusiveUpperBound, getFromKey, getInclusiveLowerBound, getIndex, getToKey, hasNext, hasPrior, isCursorPositionDefined, isDeletedTupleVisitor, last, lastPosition, newPosition, next, nextTuple, prior, priorTuple, rangeCheck, remove, seek, seek, toString, tuple |
AbstractBTreeTupleCursor.ReadOnlyBTreeTupleCursor
public AbstractBTreeTupleCursor.ReadOnlyBTreeTupleCursor(BTree btree,
Tuple<E> tuple,
byte[] fromKey,
byte[] toKey)
newPosition
protected com.bigdata.btree.AbstractBTreeTupleCursor.ReadOnlyCursorPosition<E> newPosition(ILeafCursor<Leaf> leafCursor,
int index,
byte[] key)
- Description copied from class:
AbstractBTreeTupleCursor
- Return a new
ICursorPosition from the leafCursor, tuple
index, and key
- Specified by:
newPosition in class AbstractBTreeTupleCursor<BTree,Leaf,E>
- Parameters:
leafCursor - The ILeafCursor (already positioned on the desired
leaf).index - The index of the tuple corresponding to the key within
the current leaf of the leafCursor -or- a negative
integer representing the insertion point for the key
if the key is spanned by that leaf but there is no
tuple for that key in the leaf.key - The key.
- Returns:
- The new
ICursorPosition.
newTemporaryPosition
protected com.bigdata.btree.AbstractBTreeTupleCursor.ReadOnlyCursorPosition<E> newTemporaryPosition(com.bigdata.btree.AbstractBTreeTupleCursor.ICursorPosition<Leaf,E> p)
- Description copied from class:
AbstractBTreeTupleCursor
- Return a clone of the given
ICursorPosition designed for use by
AbstractBTreeTupleCursor.hasNext() and AbstractBTreeTupleCursor.hasPrior() (temporary test without
side-effects).
- Specified by:
newTemporaryPosition in class AbstractBTreeTupleCursor<BTree,Leaf,E>
- Parameters:
p - The cursor position.
- Returns:
- A clone of that cursor position.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.