protected 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,
java.lang.Object[] params) |
Checks that the passed parameters match the declarations.
|
protected void |
QueryImpl.assertParameters(StoreQuery q,
StoreQuery.Executor ex,
java.util.Map params) |
|
java.lang.Number |
DelegatingQuery.deleteInMemory(StoreQuery q,
StoreQuery.Executor ex,
java.lang.Object[] params) |
|
java.lang.Number |
QueryContext.deleteInMemory(StoreQuery q,
StoreQuery.Executor ex,
java.lang.Object[] params) |
Helper method to delete the objects found by executing a query on
the given executor.
|
java.lang.Number |
QueryImpl.deleteInMemory(StoreQuery q,
StoreQuery.Executor executor,
java.lang.Object[] params) |
|
java.lang.Number |
AbstractStoreQuery.AbstractExecutor.executeDelete(StoreQuery q,
java.lang.Object[] params) |
|
java.lang.Number |
ExpressionStoreQuery.DataStoreExecutor.executeDelete(StoreQuery q,
java.lang.Object[] params) |
|
java.lang.Number |
StoreQuery.Executor.executeDelete(StoreQuery q,
java.lang.Object[] params) |
Deleted the objects that result from the execution of the
query, retuning the number of objects that were deleted.
|
ResultObjectProvider |
ExpressionStoreQuery.DataStoreExecutor.executeQuery(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
|
ResultObjectProvider |
ExpressionStoreQuery.InMemoryExecutor.executeQuery(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
|
ResultObjectProvider |
StoreQuery.Executor.executeQuery(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
Return the result of executing this query with the given parameter
values.
|
java.lang.Number |
AbstractStoreQuery.AbstractExecutor.executeUpdate(StoreQuery q,
java.lang.Object[] params) |
|
java.lang.Number |
ExpressionStoreQuery.DataStoreExecutor.executeUpdate(StoreQuery q,
java.lang.Object[] params) |
|
java.lang.Number |
StoreQuery.Executor.executeUpdate(StoreQuery q,
java.lang.Object[] params) |
Updates the objects that result from the execution of the
query, retuning the number of objects that were updated.
|
ClassMetaData[] |
AbstractStoreQuery.AbstractExecutor.getAccessPathMetaDatas(StoreQuery q) |
|
ClassMetaData[] |
ExpressionStoreQuery.AbstractExpressionExecutor.getAccessPathMetaDatas(StoreQuery q) |
|
ClassMetaData[] |
StoreQuery.Executor.getAccessPathMetaDatas(StoreQuery q) |
Return an array of all persistent classes used in this query, or
empty array if unknown.
|
java.lang.String |
AbstractStoreQuery.AbstractExecutor.getAlias(StoreQuery q) |
|
java.lang.String |
ExpressionStoreQuery.AbstractExpressionExecutor.getAlias(StoreQuery q) |
|
java.lang.String |
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) |
|
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.
|
java.lang.String[] |
AbstractStoreQuery.AbstractExecutor.getDataStoreActions(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
|
java.lang.String[] |
ExpressionStoreQuery.DataStoreExecutor.getDataStoreActions(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
|
java.lang.String[] |
ExpressionStoreQuery.InMemoryExecutor.getDataStoreActions(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
|
java.lang.String[] |
StoreQuery.Executor.getDataStoreActions(StoreQuery q,
java.lang.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) |
|
int |
ExpressionStoreQuery.AbstractExpressionExecutor.getOperation(StoreQuery q) |
|
int |
StoreQuery.Executor.getOperation(StoreQuery q) |
Returns the operation this executor is meant to execute.
|
OrderedMap<java.lang.Object,java.lang.Class<?>> |
AbstractStoreQuery.AbstractExecutor.getOrderedParameterTypes(StoreQuery q) |
|
OrderedMap<java.lang.Object,java.lang.Class<?>> |
ExpressionStoreQuery.AbstractExpressionExecutor.getOrderedParameterTypes(StoreQuery q) |
|
OrderedMap<java.lang.Object,java.lang.Class<?>> |
StoreQuery.Executor.getOrderedParameterTypes(StoreQuery q) |
Return a map of parameter names to types.
|
java.lang.Object |
AbstractStoreQuery.AbstractExecutor.getOrderingValue(StoreQuery q,
java.lang.Object[] params,
java.lang.Object resultObject,
int orderIndex) |
|
java.lang.Object |
ExpressionStoreQuery.DataStoreExecutor.getOrderingValue(StoreQuery q,
java.lang.Object[] params,
java.lang.Object resultObject,
int orderIndex) |
|
java.lang.Object |
ExpressionStoreQuery.InMemoryExecutor.getOrderingValue(StoreQuery q,
java.lang.Object[] params,
java.lang.Object resultObject,
int orderIndex) |
|
java.lang.Object |
StoreQuery.Executor.getOrderingValue(StoreQuery q,
java.lang.Object[] params,
java.lang.Object resultObject,
int orderIndex) |
Extract the value of the orderIndex th ordering
expression in Query#getOrderingClauses from the
given result object.
|
LinkedMap |
AbstractStoreQuery.AbstractExecutor.getParameterTypes(StoreQuery q) |
|
LinkedMap |
StoreQuery.Executor.getParameterTypes(StoreQuery q) |
Deprecated.
|
java.lang.String[] |
AbstractStoreQuery.AbstractExecutor.getProjectionAliases(StoreQuery q) |
|
java.lang.String[] |
ExpressionStoreQuery.AbstractExpressionExecutor.getProjectionAliases(StoreQuery q) |
|
java.lang.String[] |
StoreQuery.Executor.getProjectionAliases(StoreQuery q) |
Return the alias for each projection element, or empty array
if not a projection.
|
java.lang.Class<?>[] |
AbstractStoreQuery.AbstractExecutor.getProjectionTypes(StoreQuery q) |
|
java.lang.Class<?>[] |
ExpressionStoreQuery.AbstractExpressionExecutor.getProjectionTypes(StoreQuery q) |
|
java.lang.Class[] |
ExpressionStoreQuery.DataStoreExecutor.getProjectionTypes(StoreQuery q) |
|
java.lang.Class[] |
ExpressionStoreQuery.InMemoryExecutor.getProjectionTypes(StoreQuery q) |
|
java.lang.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,
java.lang.Object[] params,
StoreQuery.Range range) |
|
void |
ExpressionStoreQuery.AbstractExpressionExecutor.getRange(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
|
void |
StoreQuery.Executor.getRange(StoreQuery q,
java.lang.Object[] params,
StoreQuery.Range range) |
Mutate the given range to set any range information stored in
the query string and/or parameters.
|
java.lang.Class<?> |
AbstractStoreQuery.AbstractExecutor.getResultClass(StoreQuery q) |
|
java.lang.Class<?> |
ExpressionStoreQuery.AbstractExpressionExecutor.getResultClass(StoreQuery q) |
|
java.lang.Class<?> |
StoreQuery.Executor.getResultClass(StoreQuery q) |
Returns the result class, if any.
|
ResultShape<?> |
AbstractStoreQuery.AbstractExecutor.getResultShape(StoreQuery q) |
|
ResultShape<?> |
ExpressionStoreQuery.AbstractExpressionExecutor.getResultShape(StoreQuery q) |
|
ResultShape<?> |
StoreQuery.Executor.getResultShape(StoreQuery q) |
|
java.util.Map<FieldMetaData,Value> |
AbstractStoreQuery.AbstractExecutor.getUpdates(StoreQuery q) |
|
java.util.Map |
ExpressionStoreQuery.AbstractExpressionExecutor.getUpdates(StoreQuery q) |
|
java.util.Map<FieldMetaData,Value> |
StoreQuery.Executor.getUpdates(StoreQuery q) |
|
boolean |
AbstractStoreQuery.AbstractExecutor.hasGrouping(StoreQuery q) |
|
boolean |
ExpressionStoreQuery.AbstractExpressionExecutor.hasGrouping(StoreQuery q) |
|
boolean |
StoreQuery.Executor.hasGrouping(StoreQuery q) |
Whether the compiled query has grouping.
|
boolean |
AbstractStoreQuery.AbstractExecutor.isAggregate(StoreQuery q) |
|
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) |
|
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(java.lang.String lang,
StoreQuery sq) |
Create a new query.
|
java.lang.Object[] |
ExpressionStoreQuery.AbstractExpressionExecutor.toParameterArray(StoreQuery q,
java.util.Map<?,?> userParams) |
Creates a Object[] from the values of the given user parameters.
|
java.lang.Object[] |
StoreQuery.Executor.toParameterArray(StoreQuery q,
java.util.Map<?,?> userParams) |
Return an array from the given user parameter values.
|
protected java.lang.Object |
QueryImpl.toResult(StoreQuery q,
StoreQuery.Executor ex,
ResultObjectProvider rop,
StoreQuery.Range range) |
Return the query result for the given result object provider.
|
java.lang.Number |
DelegatingQuery.updateInMemory(StoreQuery q,
StoreQuery.Executor ex,
java.lang.Object[] params) |
|
java.lang.Number |
QueryContext.updateInMemory(StoreQuery q,
StoreQuery.Executor ex,
java.lang.Object[] params) |
Helper method to update the objects found by executing a query on
the given executor.
|
java.lang.Number |
QueryImpl.updateInMemory(StoreQuery q,
StoreQuery.Executor executor,
java.lang.Object[] params) |
|
void |
AbstractStoreQuery.AbstractExecutor.validate(StoreQuery q) |
|
void |
ExpressionStoreQuery.AbstractExpressionExecutor.validate(StoreQuery q) |
|
void |
StoreQuery.Executor.validate(StoreQuery q) |
Validate components of query.
|