Uses of Interface
org.apache.openjpa.kernel.StoreQuery
Package
Description
OpenJPA Abstract StoreManager Implementation
OpenJPA Data Cache
OpenJPA-JDBC Runtime Kernel
OpenJPA Runtime Kernel
Extended OpenJPA Interfaces for distributed databases.
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
-
Uses of StoreQuery in org.apache.openjpa.abstractstore
-
Uses of StoreQuery in org.apache.openjpa.datacache
Modifier and TypeClassDescriptionclass
AStoreQuery
implementation that caches the OIDs involved in the query, and can determine whether or not the query has been dirtied.ModifierConstructorDescriptionQueryCacheStoreQuery
(StoreQuery query, QueryCache cache) Create a new instance that delegates toquery
if no cached results are available. -
Uses of StoreQuery in org.apache.openjpa.jdbc.kernel
Modifier and TypeClassDescriptionclass
JDBC query implementation.class
A executor for Prepared SQL Query.class
A SQL query.class
Executes a stored procedure.Modifier and TypeMethodDescriptionPreparedSQLStoreQuery.PreparedSQLExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) SQLStoreQuery.SQLExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) StoredProcedureQuery.StoredProcedureQueryExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) SQLStoreQuery.SQLExecutor.executeUpdate
(StoreQuery q, Object[] params) String[]
SQLStoreQuery.SQLExecutor.getDataStoreActions
(StoreQuery q, Object[] params, StoreQuery.Range range) int
SQLStoreQuery.SQLExecutor.getOperation
(StoreQuery q) Class[]
PreparedSQLStoreQuery.PreparedSQLExecutor.getProjectionTypes
(StoreQuery q) boolean
SQLStoreQuery.SQLExecutor.isPacking
(StoreQuery q) Object[]
PreparedSQLStoreQuery.PreparedSQLExecutor.toParameterArray
(StoreQuery q, Map userParams) Convert given userParams to an array whose ordering matches as per expected during executeXXX() methods.Object[]
SQLStoreQuery.SQLExecutor.toParameterArray
(StoreQuery q, Map userParams) The given query is parsed to find the parameter tokens of the form?
Object[]
StoredProcedureQuery.StoredProcedureQueryExecutor.toParameterArray
(StoreQuery q, Map<?, ?> userParams) -
Uses of StoreQuery in org.apache.openjpa.kernel
Modifier and TypeClassDescriptionclass
AbstractStoreQuery
that implements most methods as no-ops.class
Implementation of an expression-based query, which can handle String-based query expressions such as JPQL and JDOQL.class
A query that is executed by a user-defined method.Modifier and TypeMethodDescriptionQueryImpl.getStoreQuery()
Internal store query.Return a query implementation suitable for this store.Modifier and TypeMethodDescriptionprotected void
ExpressionStoreQuery.AbstractExpressionExecutor.assertNotContainer
(Value val, StoreQuery q) Throw proper exception if given value is a collection/map/array.protected void
QueryImpl.assertParameters
(StoreQuery q, StoreQuery.Executor ex, Object[] params) Checks that the passed parameters match the declarations.protected void
QueryImpl.assertParameters
(StoreQuery q, StoreQuery.Executor ex, Map params) DelegatingQuery.deleteInMemory
(StoreQuery q, StoreQuery.Executor ex, Object[] params) QueryContext.deleteInMemory
(StoreQuery q, StoreQuery.Executor ex, Object[] params) Helper method to delete the objects found by executing a query on the given executor.QueryImpl.deleteInMemory
(StoreQuery q, StoreQuery.Executor executor, Object[] params) AbstractStoreQuery.AbstractExecutor.executeDelete
(StoreQuery q, Object[] params) ExpressionStoreQuery.DataStoreExecutor.executeDelete
(StoreQuery q, Object[] params) StoreQuery.Executor.executeDelete
(StoreQuery q, Object[] params) Deleted the objects that result from the execution of the query, retuning the number of objects that were deleted.ExpressionStoreQuery.DataStoreExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) ExpressionStoreQuery.InMemoryExecutor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) StoreQuery.Executor.executeQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) Return the result of executing this query with the given parameter values.AbstractStoreQuery.AbstractExecutor.executeUpdate
(StoreQuery q, Object[] params) ExpressionStoreQuery.DataStoreExecutor.executeUpdate
(StoreQuery q, Object[] params) StoreQuery.Executor.executeUpdate
(StoreQuery q, Object[] params) Updates the objects that result from the execution of the query, retuning the number of objects that were updated.AbstractStoreQuery.AbstractExecutor.getAccessPathMetaDatas
(StoreQuery q) final ClassMetaData[]
ExpressionStoreQuery.AbstractExpressionExecutor.getAccessPathMetaDatas
(StoreQuery q) StoreQuery.Executor.getAccessPathMetaDatas
(StoreQuery q) Return an array of all persistent classes used in this query, or empty array if unknown.AbstractStoreQuery.AbstractExecutor.getAlias
(StoreQuery q) final String
ExpressionStoreQuery.AbstractExpressionExecutor.getAlias
(StoreQuery q) StoreQuery.Executor.getAlias
(StoreQuery q) If this is not a projection but the candidate results are placed into a result class with an alias, return that alias.boolean[]
AbstractStoreQuery.AbstractExecutor.getAscending
(StoreQuery q) final boolean[]
ExpressionStoreQuery.AbstractExpressionExecutor.getAscending
(StoreQuery q) boolean[]
StoreQuery.Executor.getAscending
(StoreQuery q) Return the ordering direction for all ordering clauses, or empty array if none.String[]
AbstractStoreQuery.AbstractExecutor.getDataStoreActions
(StoreQuery q, Object[] params, StoreQuery.Range range) String[]
ExpressionStoreQuery.DataStoreExecutor.getDataStoreActions
(StoreQuery q, Object[] params, StoreQuery.Range range) String[]
ExpressionStoreQuery.InMemoryExecutor.getDataStoreActions
(StoreQuery q, Object[] params, StoreQuery.Range range) String[]
StoreQuery.Executor.getDataStoreActions
(StoreQuery q, Object[] params, StoreQuery.Range range) Return a description of the commands that will be sent to the datastore in order to execute the query.int
AbstractStoreQuery.AbstractExecutor.getOperation
(StoreQuery q) final int
ExpressionStoreQuery.AbstractExpressionExecutor.getOperation
(StoreQuery q) int
StoreQuery.Executor.getOperation
(StoreQuery q) Returns the operation this executor is meant to execute.OrderedMap<Object,
Class<?>> AbstractStoreQuery.AbstractExecutor.getOrderedParameterTypes
(StoreQuery q) final OrderedMap<Object,
Class<?>> ExpressionStoreQuery.AbstractExpressionExecutor.getOrderedParameterTypes
(StoreQuery q) OrderedMap<Object,
Class<?>> StoreQuery.Executor.getOrderedParameterTypes
(StoreQuery q) Return a map of parameter names to types.AbstractStoreQuery.AbstractExecutor.getOrderingValue
(StoreQuery q, Object[] params, Object resultObject, int orderIndex) ExpressionStoreQuery.DataStoreExecutor.getOrderingValue
(StoreQuery q, Object[] params, Object resultObject, int orderIndex) ExpressionStoreQuery.InMemoryExecutor.getOrderingValue
(StoreQuery q, Object[] params, Object resultObject, int orderIndex) StoreQuery.Executor.getOrderingValue
(StoreQuery q, Object[] params, Object resultObject, int orderIndex) Extract the value of theorderIndex
th ordering expression inQuery#getOrderingClauses
from the given result object.AbstractStoreQuery.AbstractExecutor.getParameterTypes
(StoreQuery q) StoreQuery.Executor.getParameterTypes
(StoreQuery q) Deprecated.String[]
AbstractStoreQuery.AbstractExecutor.getProjectionAliases
(StoreQuery q) final String[]
ExpressionStoreQuery.AbstractExpressionExecutor.getProjectionAliases
(StoreQuery q) String[]
StoreQuery.Executor.getProjectionAliases
(StoreQuery q) Return the alias for each projection element, or empty array if not a projection.Class<?>[]
AbstractStoreQuery.AbstractExecutor.getProjectionTypes
(StoreQuery q) Class<?>[]
ExpressionStoreQuery.AbstractExpressionExecutor.getProjectionTypes
(StoreQuery q) Class[]
ExpressionStoreQuery.DataStoreExecutor.getProjectionTypes
(StoreQuery q) Class[]
ExpressionStoreQuery.InMemoryExecutor.getProjectionTypes
(StoreQuery q) Class<?>[]
StoreQuery.Executor.getProjectionTypes
(StoreQuery q) Return the expected types of the projections used by this query, or an empty array if not a projection.void
AbstractStoreQuery.AbstractExecutor.getRange
(StoreQuery q, Object[] params, StoreQuery.Range range) void
ExpressionStoreQuery.AbstractExpressionExecutor.getRange
(StoreQuery q, Object[] params, StoreQuery.Range range) void
StoreQuery.Executor.getRange
(StoreQuery q, Object[] params, StoreQuery.Range range) Mutate the given range to set any range information stored in the query string and/or parameters.Class<?>
AbstractStoreQuery.AbstractExecutor.getResultClass
(StoreQuery q) final Class<?>
ExpressionStoreQuery.AbstractExpressionExecutor.getResultClass
(StoreQuery q) Class<?>
StoreQuery.Executor.getResultClass
(StoreQuery q) Returns the result class, if any.ResultShape<?>
AbstractStoreQuery.AbstractExecutor.getResultShape
(StoreQuery q) final ResultShape<?>
ExpressionStoreQuery.AbstractExpressionExecutor.getResultShape
(StoreQuery q) ResultShape<?>
StoreQuery.Executor.getResultShape
(StoreQuery q) AbstractStoreQuery.AbstractExecutor.getUpdates
(StoreQuery q) final Map
ExpressionStoreQuery.AbstractExpressionExecutor.getUpdates
(StoreQuery q) StoreQuery.Executor.getUpdates
(StoreQuery q) Return a map ofFieldMetaData
to updateConstant
s, in cases where this query is for a bulk update.boolean
AbstractStoreQuery.AbstractExecutor.hasGrouping
(StoreQuery q) final boolean
ExpressionStoreQuery.AbstractExpressionExecutor.hasGrouping
(StoreQuery q) boolean
StoreQuery.Executor.hasGrouping
(StoreQuery q) Whether the compiled query has grouping.boolean
AbstractStoreQuery.AbstractExecutor.isAggregate
(StoreQuery q) final boolean
ExpressionStoreQuery.AbstractExpressionExecutor.isAggregate
(StoreQuery q) boolean
StoreQuery.Executor.isAggregate
(StoreQuery q) Return true if the compiled query is an aggregate.boolean
AbstractStoreQuery.AbstractExecutor.isDistinct
(StoreQuery q) final boolean
ExpressionStoreQuery.AbstractExpressionExecutor.isDistinct
(StoreQuery q) boolean
StoreQuery.Executor.isDistinct
(StoreQuery q) boolean
AbstractStoreQuery.AbstractExecutor.isPacking
(StoreQuery q) boolean
ExpressionStoreQuery.AbstractExpressionExecutor.isPacking
(StoreQuery q) boolean
StoreQuery.Executor.isPacking
(StoreQuery q) Return true if this executor packs projections into the result class itself.protected QueryImpl
BrokerImpl.newQueryImpl
(String lang, StoreQuery sq) Create a new query.Object[]
ExpressionStoreQuery.AbstractExpressionExecutor.toParameterArray
(StoreQuery q, Map<?, ?> userParams) Creates a Object[] from the values of the given user parameters.Object[]
StoreQuery.Executor.toParameterArray
(StoreQuery q, Map<?, ?> userParams) Return an array from the given user parameter values.protected Object
QueryImpl.toResult
(StoreQuery q, StoreQuery.Executor ex, ResultObjectProvider rop, StoreQuery.Range range) Return the query result for the given result object provider.DelegatingQuery.updateInMemory
(StoreQuery q, StoreQuery.Executor ex, Object[] params) QueryContext.updateInMemory
(StoreQuery q, StoreQuery.Executor ex, Object[] params) Helper method to update the objects found by executing a query on the given executor.QueryImpl.updateInMemory
(StoreQuery q, StoreQuery.Executor executor, Object[] params) void
AbstractStoreQuery.AbstractExecutor.validate
(StoreQuery q) final void
ExpressionStoreQuery.AbstractExpressionExecutor.validate
(StoreQuery q) void
StoreQuery.Executor.validate
(StoreQuery q) Validate components of query.ModifierConstructorDescriptionOrderingMergedResultObjectProvider
(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor[] execs, StoreQuery q, Object[] params) OrderingMergedResultObjectProvider
(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor exec, StoreQuery q, Object[] params) QueryImpl
(Broker broker, String language, StoreQuery storeQuery) Construct a query managed by the given broker.QueryResultCallback
(QueryImpl kernel, StoreQuery storeQuery, StoreQuery.Executor executor, BatchedResultObjectProvider parent, StoreQuery.Range range) -
Uses of StoreQuery in org.apache.openjpa.slice
Modifier and TypeMethodDescriptionprotected QueryImpl
DistributedBrokerImpl.newQueryImpl
(String lang, StoreQuery sq) Create a new query.ModifierConstructorDescriptionDistributedQueryImpl
(Broker broker, String language, StoreQuery storeQuery) -
Uses of StoreQuery in org.apache.openjpa.slice.jdbc
ModifierConstructorDescriptionUniqueResultObjectProvider
(ResultObjectProvider[] rops, StoreQuery q, QueryExpressions[] exps)