public class RightTupleIndexRangeRBTree extends Object implements RightTupleMemory, Externalizable
Modifier and Type | Class and Description |
---|---|
class |
RightTupleIndexRangeRBTree.RightTupleBoundedFastIterator |
RightTupleMemory.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(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 leftTuple,
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 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void add(RightTuple tuple)
add
in interface RightTupleMemory
public void remove(RightTuple tuple)
remove
in interface RightTupleMemory
public void removeAdd(RightTuple tuple)
removeAdd
in interface RightTupleMemory
public boolean isIndexed()
isIndexed
in interface RightTupleMemory
public int size()
size
in interface RightTupleMemory
public Entry[] toArray()
toArray
in interface RightTupleMemory
public RightTuple getFirst(LeftTuple leftTuple, InternalFactHandle factHandle, FastIterator rightTupleIterator)
RightTupleMemory
getFirst
in interface RightTupleMemory
public Iterator iterator()
iterator
in interface RightTupleMemory
public boolean contains(RightTuple tuple)
contains
in interface RightTupleMemory
public FastIterator fastIterator()
fastIterator
in interface RightTupleMemory
public FastIterator fullFastIterator()
RightTupleMemory
fullFastIterator
in interface RightTupleMemory
public FastIterator fullFastIterator(RightTuple tuple)
RightTupleMemory
fullFastIterator
in interface RightTupleMemory
public RightTupleMemory.IndexType getIndexType()
getIndexType
in interface RightTupleMemory
public void clear()
clear
in interface RightTupleMemory
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.