public class LeftTupleIndexRBTree extends Object implements LeftTupleMemory, Externalizable
Modifier and Type | Class and Description |
---|---|
class |
LeftTupleIndexRBTree.LeftTupleFastIterator |
Constructor and Description |
---|
LeftTupleIndexRBTree() |
LeftTupleIndexRBTree(IndexUtil.ConstraintType constraintType,
AbstractHashTable.FieldIndex index) |
Modifier and Type | Method and Description |
---|---|
void |
add(LeftTuple tuple) |
void |
clear() |
boolean |
contains(LeftTuple leftTuple) |
FastIterator |
fastIterator() |
FastIterator |
fullFastIterator()
Iterates the entire data structure, regardless of whether TupleMemory is hashed or not.
|
FastIterator |
fullFastIterator(LeftTuple leftTuple)
Iterator that resumes from the current RightTuple, regardless of whether the TupleMemory is hashed or not
|
LeftTuple |
getFirst(RightTuple rightTuple) |
boolean |
isIndexed() |
Iterator<LeftTuple> |
iterator() |
void |
readExternal(ObjectInput in) |
void |
remove(LeftTuple tuple) |
void |
removeAdd(LeftTuple tuple) |
int |
size() |
Entry[] |
toArray() |
void |
writeExternal(ObjectOutput out) |
public LeftTupleIndexRBTree()
public LeftTupleIndexRBTree(IndexUtil.ConstraintType constraintType, AbstractHashTable.FieldIndex index)
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(LeftTuple tuple)
add
in interface LeftTupleMemory
public void remove(LeftTuple tuple)
remove
in interface LeftTupleMemory
public void removeAdd(LeftTuple tuple)
removeAdd
in interface LeftTupleMemory
public boolean isIndexed()
isIndexed
in interface LeftTupleMemory
public int size()
size
in interface LeftTupleMemory
public Entry[] toArray()
toArray
in interface LeftTupleMemory
public LeftTuple getFirst(RightTuple rightTuple)
getFirst
in interface LeftTupleMemory
public Iterator<LeftTuple> iterator()
iterator
in interface LeftTupleMemory
public boolean contains(LeftTuple leftTuple)
contains
in interface LeftTupleMemory
public FastIterator fastIterator()
fastIterator
in interface LeftTupleMemory
public FastIterator fullFastIterator()
LeftTupleMemory
fullFastIterator
in interface LeftTupleMemory
public FastIterator fullFastIterator(LeftTuple leftTuple)
LeftTupleMemory
fullFastIterator
in interface LeftTupleMemory
public void clear()
clear
in interface LeftTupleMemory
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.