public class RightTupleIndexRangeRBTree extends Object implements TupleMemory, Externalizable
| Modifier and Type | Class and Description |
|---|---|
class |
RightTupleIndexRangeRBTree.RightTupleBoundedFastIterator |
TupleMemory.IndexType| Constructor and Description |
|---|
RightTupleIndexRangeRBTree() |
RightTupleIndexRangeRBTree(IndexUtil.ConstraintType ascendingConstraintType,
AbstractHashTable.FieldIndex ascendingIndex,
IndexUtil.ConstraintType descendingConstraintType,
AbstractHashTable.FieldIndex descendingIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Tuple tuple) |
void |
clear() |
boolean |
contains(Tuple tuple) |
FastIterator |
fastIterator() |
FastIterator |
fullFastIterator()
Iterates the entire data structure, regardless of whether TupleMemory is hashed or not.
|
FastIterator |
fullFastIterator(Tuple tuple)
Iterator that resumes from the current RightTuple, regardless of whether the TupleMemory is hashed or not
|
Tuple |
getFirst(Tuple leftTuple)
The FactHandle is always the context fact and is necessary when the object being modified is in the both left and right
node memories.
|
TupleMemory.IndexType |
getIndexType() |
boolean |
isIndexed() |
Iterator |
iterator() |
void |
readExternal(ObjectInput in) |
void |
remove(Tuple tuple) |
void |
removeAdd(Tuple tuple) |
int |
size() |
Entry[] |
toArray() |
void |
writeExternal(ObjectOutput out) |
public RightTupleIndexRangeRBTree()
public RightTupleIndexRangeRBTree(IndexUtil.ConstraintType ascendingConstraintType, AbstractHashTable.FieldIndex ascendingIndex, IndexUtil.ConstraintType descendingConstraintType, AbstractHashTable.FieldIndex descendingIndex)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void add(Tuple tuple)
add in interface TupleMemorypublic void remove(Tuple tuple)
remove in interface TupleMemorypublic void removeAdd(Tuple tuple)
removeAdd in interface TupleMemorypublic boolean isIndexed()
isIndexed in interface TupleMemorypublic int size()
size in interface TupleMemorypublic Entry[] toArray()
toArray in interface TupleMemorypublic Tuple getFirst(Tuple leftTuple)
TupleMemorygetFirst in interface TupleMemorypublic Iterator iterator()
iterator in interface TupleMemorypublic boolean contains(Tuple tuple)
contains in interface TupleMemorypublic FastIterator fastIterator()
fastIterator in interface TupleMemorypublic FastIterator fullFastIterator()
TupleMemoryfullFastIterator in interface TupleMemorypublic FastIterator fullFastIterator(Tuple tuple)
TupleMemoryfullFastIterator in interface TupleMemorypublic TupleMemory.IndexType getIndexType()
getIndexType in interface TupleMemorypublic void clear()
clear in interface TupleMemoryCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.