|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a wrapper to fetch, delete or update data from a QueryLeaf at query evaluation time.
A Wrapper is associated to a QueryLeaf at a given point of time. There can be several Wrappers of the same type. One Wrapper can be associated sequentially to several QueryLeaves.
Method Summary | |
long |
deleteData(QueryLeaf ql,
ParameterOperand[] parameters,
java.lang.Object connection,
EvaluationMetaData evalmd)
This method links the wrapper to a particular QueryLeaf, and executes the delete on the underlying data store. |
TupleCollection |
fetchData(QueryLeaf ql,
ParameterOperand[] parameters,
java.lang.Object connection,
EvaluationMetaData evalmd)
This method links the wrapper to a particular QueryLeaf, and executes the query on the underlying data store for fetching data. |
long |
updateData(QueryLeaf ql,
ParameterOperand[] parameters,
java.lang.Object connection,
EvaluationMetaData evalmd)
This method links the wrapper to a particular QueryLeaf, and executes data updating on the underlying data store. |
Method Detail |
public TupleCollection fetchData(QueryLeaf ql, ParameterOperand[] parameters, java.lang.Object connection, EvaluationMetaData evalmd) throws EvaluationException
ql
- the QueryLeafparameters
- the parameters necessary for obtaining data from the
QueryLeaf (in the case the QueryLeaf contains an expression)connection
- an Object which contains information for connecting
to the DataStore behind the QueryLeaf (could be a JDBC connection, ...)s
EvaluationException
- in case of problems during the evaluation.public long deleteData(QueryLeaf ql, ParameterOperand[] parameters, java.lang.Object connection, EvaluationMetaData evalmd) throws EvaluationException
ql
- the QueryLeafparameters
- the parameters necessary for obtaining data from the
QueryLeaf (in the case the QueryLeaf contains an expression)connection
- an Object which contains information for connecting
to the DataStore behind the QueryLeaf (could be a JDBC connection, ...)s
EvaluationException
- in case of problems during the evaluation.public long updateData(QueryLeaf ql, ParameterOperand[] parameters, java.lang.Object connection, EvaluationMetaData evalmd) throws EvaluationException
ql
- the QueryLeafparameters
- the parameters necessary for obtaining data from the
QueryLeaf (in the case the QueryLeaf contains an expression)connection
- an Object which contains information for connecting
to the DataStore behind the QueryLeaf (could be a JDBC connection, ...)sevalmd
- MUST define the update expression with the annotation
ANNOTATION_UPDATE_EXPRESSION
EvaluationException
- in case of problems during the evaluation.EvaluationMetaData.ANNOTATION_UPDATE_EXPRESSION
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |