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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void add(Tuple tuple)
add
in interface TupleMemory
public void remove(Tuple tuple)
remove
in interface TupleMemory
public void removeAdd(Tuple tuple)
removeAdd
in interface TupleMemory
public boolean isIndexed()
isIndexed
in interface TupleMemory
public int size()
size
in interface TupleMemory
public Entry[] toArray()
toArray
in interface TupleMemory
public Tuple getFirst(Tuple leftTuple)
TupleMemory
getFirst
in interface TupleMemory
public Iterator iterator()
iterator
in interface TupleMemory
public boolean contains(Tuple tuple)
contains
in interface TupleMemory
public FastIterator fastIterator()
fastIterator
in interface TupleMemory
public FastIterator fullFastIterator()
TupleMemory
fullFastIterator
in interface TupleMemory
public FastIterator fullFastIterator(Tuple tuple)
TupleMemory
fullFastIterator
in interface TupleMemory
public TupleMemory.IndexType getIndexType()
getIndexType
in interface TupleMemory
public void clear()
clear
in interface TupleMemory
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.