| org.objectweb.speedo.query.api.CompiledQuery
All known Subclasses: org.objectweb.speedo.query.lib.AbstractCompiledQuery,
CompiledQuery | public interface CompiledQuery extends FixableCacheEntry(Code) | | Represents a compiled JDO query.
author: S.Chassande-Barrioz |
UNDEFINED | short UNDEFINED(Code) | | |
compile | void compile() throws SpeedoException, MedorException, ExpressionException(Code) | | Compiles the query if it is not already done.
|
execute | Object execute(Object[] parameters, POManagerItf pm, QueryDefinition qd) throws SpeedoException, MedorException, ExpressionException(Code) | | Executes the compiled query.
Parameters: parameters - is the JDO parameters of query (does not containsinternal parameter). The order of parameter must match the parameterdeclaration. Parameters: pm - is the po manager representing the execution context. Italso used to load the instance in the result collection. Parameters: qd - TODO a list or one persistent instance depending on the unique flag. The result can be null only if the result is unique. |
getDefinition | QueryDefinition getDefinition()(Code) | | the definition of the query if it is defined, null valueotherwise. |
getStatus | short getStatus()(Code) | | the query status. The possible values are UNDEFINED, DEFINED or COMPILED. |
|
|