Package org.apache.openjpa.persistence
Interface OpenJPAQuerySPI<X>
- All Superinterfaces:
OpenJPAQuery<X>
,jakarta.persistence.Query
,jakarta.persistence.TypedQuery<X>
- All Known Implementing Classes:
AbstractQuery
,QueryImpl
-
Field Summary
Fields inherited from interface org.apache.openjpa.persistence.OpenJPAQuery
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION, HINT_RESULT_COUNT, OP_DELETE, OP_SELECT, OP_UPDATE
-
Method Summary
Modifier and TypeMethodDescriptionaddAggregateListener
(AggregateListener listener) Register an aggregate listener for the query.addFilterListener
(FilterListener listener) Register a filter listener for the query.removeAggregateListener
(AggregateListener listener) Remove an aggregate listener from the query.removeFilterListener
(FilterListener listener) Remove a filter listener from the query.Methods inherited from interface org.apache.openjpa.persistence.OpenJPAQuery
closeAll, compile, getCandidateCollection, getDataStoreActions, getEntityManager, getFetchPlan, getFirstResult, getFlushMode, getIgnoreChanges, getLanguage, getMaxResults, getNamedParameters, getOperation, getPositionalParameters, getQueryString, getRelaxBindParameterTypeChecking, getResultClass, getSupportedHints, hasPositionalParameters, hasSubclasses, setCandidateCollection, setFirstResult, setFlushMode, setHint, setIgnoreChanges, setMaxResults, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameters, setParameters, setRelaxBindParameterTypeChecking, setResultClass, setSubclasses
Methods inherited from interface jakarta.persistence.Query
executeUpdate, getHints, getLockMode, getParameter, getParameter, getParameter, getParameter, getParameters, getParameterValue, getParameterValue, getParameterValue, isBound, unwrap
Methods inherited from interface jakarta.persistence.TypedQuery
getResultList, getResultStream, getSingleResult, setLockMode, setParameter, setParameter, setParameter
-
Method Details
-
addFilterListener
Register a filter listener for the query.- Specified by:
addFilterListener
in interfaceOpenJPAQuery<X>
-
removeFilterListener
Remove a filter listener from the query.- Specified by:
removeFilterListener
in interfaceOpenJPAQuery<X>
-
addAggregateListener
Register an aggregate listener for the query.- Specified by:
addAggregateListener
in interfaceOpenJPAQuery<X>
-
removeAggregateListener
Remove an aggregate listener from the query.- Specified by:
removeAggregateListener
in interfaceOpenJPAQuery<X>
-