public class RightTupleIndexRBTree extends Object implements RightTupleMemory, Externalizable
| Modifier and Type | Class and Description |
|---|---|
class |
RightTupleIndexRBTree.RightTupleFastIterator |
RightTupleMemory.IndexType| Constructor and Description |
|---|
RightTupleIndexRBTree() |
RightTupleIndexRBTree(IndexUtil.ConstraintType constraintType,
AbstractHashTable.FieldIndex index) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(RightTuple tuple) |
void |
clear() |
boolean |
contains(RightTuple tuple) |
FastIterator |
fastIterator() |
FastIterator |
fullFastIterator()
Iterates the entire data structure, regardless of whether TupleMemory is hashed or not.
|
FastIterator |
fullFastIterator(RightTuple tuple)
Iterator that resumes from the current RightTuple, regardless of whether the TupleMemory is hashed or not
|
RightTuple |
getFirst(LeftTuple tuple,
InternalFactHandle factHandle,
FastIterator rightTupleIterator)
The FactHandle is always the context fact and is necessary when the object being modified is in the both left and right
node memories.
|
RightTupleMemory.IndexType |
getIndexType() |
boolean |
isIndexed() |
Iterator |
iterator() |
void |
readExternal(ObjectInput in) |
void |
remove(RightTuple tuple) |
void |
removeAdd(RightTuple tuple) |
int |
size() |
Entry[] |
toArray() |
void |
writeExternal(ObjectOutput out) |
public RightTupleIndexRBTree()
public RightTupleIndexRBTree(IndexUtil.ConstraintType constraintType, AbstractHashTable.FieldIndex index)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void add(RightTuple tuple)
add in interface RightTupleMemorypublic void remove(RightTuple tuple)
remove in interface RightTupleMemorypublic void removeAdd(RightTuple tuple)
removeAdd in interface RightTupleMemorypublic boolean isIndexed()
isIndexed in interface RightTupleMemorypublic int size()
size in interface RightTupleMemorypublic Entry[] toArray()
toArray in interface RightTupleMemorypublic RightTuple getFirst(LeftTuple tuple, InternalFactHandle factHandle, FastIterator rightTupleIterator)
RightTupleMemorygetFirst in interface RightTupleMemorypublic Iterator iterator()
iterator in interface RightTupleMemorypublic boolean contains(RightTuple tuple)
contains in interface RightTupleMemorypublic FastIterator fastIterator()
fastIterator in interface RightTupleMemorypublic FastIterator fullFastIterator()
RightTupleMemoryfullFastIterator in interface RightTupleMemorypublic FastIterator fullFastIterator(RightTuple tuple)
RightTupleMemoryfullFastIterator in interface RightTupleMemorypublic RightTupleMemory.IndexType getIndexType()
getIndexType in interface RightTupleMemorypublic void clear()
clear in interface RightTupleMemoryCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.