org.objectweb.speedo.query.jdo
Class JDOCompiledDeleteQuery

java.lang.Object
  extended by org.objectweb.speedo.query.lib.AbstractCompiledQuery
      extended by org.objectweb.speedo.query.jdo.JDOAbstractCompiledQuery
          extended by org.objectweb.speedo.query.jdo.JDOCompiledDeleteQuery
All Implemented Interfaces:
CacheEntry, FixableCacheEntry, ReplaceableCacheEntry, StateFilter, CompiledQuery

public class JDOCompiledDeleteQuery
extends JDOAbstractCompiledQuery


Field Summary
 
Fields inherited from class org.objectweb.speedo.query.jdo.JDOAbstractCompiledQuery
filterParserLogger, hparams, hvars, paramName2paramClass, qd, varParserlogger
 
Fields inherited from class org.objectweb.speedo.query.lib.AbstractCompiledQuery
age, classLoader, fixCount, jf, logger, mapper, pncParams, prefetchBufferFactory, status, userCache, userCacheIndexes
 
Fields inherited from interface org.objectweb.speedo.query.api.CompiledQuery
COMPILED, DEFINED, UNDEFINED
 
Constructor Summary
JDOCompiledDeleteQuery()
           
 
Method Summary
 void compile()
          Compiles the query if it is not already done.
protected  java.lang.Object executeQT(JDOPOManagerItf pm, org.objectweb.medor.expression.api.ParameterOperand[] pos, QueryDefinition userqd)
          executes a the current delete query, and returns a Long object corresponding to the number of delete instances
 
Methods inherited from class org.objectweb.speedo.query.jdo.JDOAbstractCompiledQuery
defineQuery, execute, execute, flushCache, getCeIdentifier, getClass, getDefinition, init, isPrefetchResult, optimize, setMapper, toHashtableParams, toHashtableVars, treatParameter
 
Methods inherited from class org.objectweb.speedo.query.lib.AbstractCompiledQuery
accept, assignMapper, fixCe, getCeAge, getCeFixCount, getCeObject, getFieldComparaison, getLogger, getMapper, getPrefetchBufferFactory, getPType, getStatus, init, setCeAge, setJormFactory, unfixCe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOCompiledDeleteQuery

public JDOCompiledDeleteQuery()
Method Detail

compile

public void compile()
             throws SpeedoException,
                    MedorException,
                    org.objectweb.medor.expression.api.ExpressionException
Description copied from interface: CompiledQuery
Compiles the query if it is not already done.

Throws:
SpeedoException
MedorException
org.objectweb.medor.expression.api.ExpressionException

executeQT

protected java.lang.Object executeQT(JDOPOManagerItf pm,
                                     org.objectweb.medor.expression.api.ParameterOperand[] pos,
                                     QueryDefinition userqd)
                              throws EvaluationException,
                                     MedorException,
                                     SpeedoException
executes a the current delete query, and returns a Long object corresponding to the number of delete instances

Specified by:
executeQT in class JDOAbstractCompiledQuery
Throws:
EvaluationException
MedorException
SpeedoException