Package org.apache.openjpa.kernel.exps
Class QueryExpressions
java.lang.Object
org.apache.openjpa.kernel.exps.QueryExpressions
- All Implemented Interfaces:
Serializable
Struct to hold the state of a parsed expression query.
- Since:
- 0.3.2
- Author:
- Abe White
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionboolean[]
int
static final int
static final int
static final int
static final Value[]
String[]
String[]
Value[]
String[]
boolean
int
Value[]
String[]
String[]
OrderedMap<Object,
Class<?>> String[]
String[]
Value[]
Value[]
Class<?>
ResultShape<?>
Map ofFieldMetaData
,Value
for update statements. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionctx()
Returns the current JPQL query context.Gets the fields that are bound to parameters.boolean
Whether this is an aggregate results.boolean
void
Add an update.void
setContexts
(Stack<Context> contexts) Set reference to the JPQL query contexts.
-
Field Details
-
DISTINCT_AUTO
public static final int DISTINCT_AUTO- See Also:
-
DISTINCT_TRUE
public static final int DISTINCT_TRUE- See Also:
-
DISTINCT_FALSE
public static final int DISTINCT_FALSE- See Also:
-
EMPTY_VALUES
-
updates
Map ofFieldMetaData
,Value
for update statements. -
distinct
public int distinct -
alias
-
projections
-
projectionClauses
-
projectionAliases
-
resultClass
-
filter
-
grouping
-
groupingClauses
-
having
-
ordering
-
ascending
public boolean[] ascending -
orderingClauses
-
orderingAliases
-
parameterTypes
-
operation
public int operation -
accessPath
-
fetchPaths
-
fetchInnerPaths
-
range
-
state
-
shape
-
hasInExpression
public boolean hasInExpression
-
-
Constructor Details
-
QueryExpressions
public QueryExpressions()
-
-
Method Details
-
setContexts
Set reference to the JPQL query contexts. -
ctx
Returns the current JPQL query context. -
isAggregate
public boolean isAggregate()Whether this is an aggregate results. -
isDistinct
public boolean isDistinct() -
getParameterizedFields
Gets the fields that are bound to parameters.- Returns:
- empty if the query has no filtering condition or no parameters.
-
putUpdate
Add an update.
-