|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.medor.eval.lib.BasicBinaryEvalutedTC
org.objectweb.medor.eval.lib.ProjectEvaluatedTC
A project Operation QueryNode is performed by this TupleCollection. This operation is not costs and doeas not uses buffers.
| Field Summary |
| Fields inherited from class org.objectweb.medor.eval.lib.BasicBinaryEvalutedTC |
closed, debug, log |
| Constructor Summary | |
ProjectEvaluatedTC(QueryNode query,
NodeEvaluator subNodeEvaluator,
ParameterOperand[] parameters,
PrefetchBuffer pb)
|
|
| Method Summary | |
int |
card()
|
void |
close()
It closes the TupleCollection, relaeases used resources (example : ResultSet). |
void |
first()
Moves the cursor to the first Tuple, row number 1. |
int |
getLeftTCCursor()
Get the current row of the left TupleCollection |
TupleStructure |
getMetaData()
Retrieves the number,types and stors properties of the data sources of this TupleCollection Object. |
int |
getRightTCCursor()
Get the current row of the right TupleCollection |
int |
getRow()
Retrieves the current row Number. |
Tuple |
getTuple()
Returns the Tuple value of the current row of this TupleCollection object. |
Tuple |
getTuple(int numTuple)
Returns the Tuple value of the designeted row of this TupleCollection object. |
void |
invalidatePrefetchBuffer()
Invalidates the PrefetchBuffer referenced by the object. |
boolean |
isEmpty()
Tell whether the current TupleCollection Object is empty or no. |
boolean |
isLast()
Indicates whether the cursor is on the last row of this TupleCollection object. |
boolean |
next()
Moves the cursor down one row from its current position to the next tuple of this TupleCollection object. |
boolean |
row(int numTuple)
Moves the cursor to the given row number in this TupleCollection object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProjectEvaluatedTC(QueryNode query,
NodeEvaluator subNodeEvaluator,
ParameterOperand[] parameters,
PrefetchBuffer pb)
throws MedorException
| Method Detail |
public void invalidatePrefetchBuffer()
throws MedorException
PrefetchBufferHolderThis is typically done when the user closes a TupleCollection.
invalidatePrefetchBuffer in interface PrefetchBufferHolderMedorException
public void close()
throws MedorException
TupleCollection
close in interface TupleCollectionclose in class BasicBinaryEvalutedTCMedorException
public TupleStructure getMetaData()
throws MedorException
TupleCollection
getMetaData in interface TupleCollectionMedorException - if a data source access error occurs
public boolean isLast()
throws MedorException
TupleCollection
isLast in interface TupleCollectionMedorException - if data source access error
public int card()
throws MedorException
MedorException
public boolean next()
throws MedorException
TupleCollection
next in interface TupleCollectionMedorException - if data source access error
public void first()
throws MedorException
TupleCollection
first in interface TupleCollectionMedorException - if data source access error
public int getRow()
throws MedorException
TupleCollection
getRow in interface TupleCollectionMedorException - if data source access error.
public Tuple getTuple()
throws MedorException
TupleCollection
getTuple in interface TupleCollectionMedorException - if data source access error.
public Tuple getTuple(int numTuple)
throws MedorException
TupleCollection
getTuple in interface TupleCollectionnumTuple - :int
MedorException - if data source access error.
public boolean isEmpty()
throws MedorException
TupleCollection
isEmpty in interface TupleCollectionMedorException - if data source access error.
public boolean row(int numTuple)
throws MedorException
TupleCollection
row in interface TupleCollectionMedorException - if row number is invelid or data source access error
public int getLeftTCCursor()
throws MedorException
BinaryEvaluatedTC
getLeftTCCursor in interface BinaryEvaluatedTCMedorException - if error in left TupleCollection
public int getRightTCCursor()
throws MedorException
BinaryEvaluatedTC
getRightTCCursor in interface BinaryEvaluatedTCMedorException - if error in right TupleCollection
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||