public class QueryExpressions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
ClassMetaData[] |
accessPath |
String |
alias |
boolean[] |
ascending |
int |
distinct |
static int |
DISTINCT_AUTO |
static int |
DISTINCT_FALSE |
static int |
DISTINCT_TRUE |
static Value[] |
EMPTY_VALUES |
String[] |
fetchInnerPaths |
String[] |
fetchPaths |
Expression |
filter |
Value[] |
grouping |
String[] |
groupingClauses |
boolean |
hasInExpression |
Expression |
having |
int |
operation |
Value[] |
ordering |
String[] |
orderingAliases |
String[] |
orderingClauses |
OrderedMap<Object,Class<?>> |
parameterTypes |
String[] |
projectionAliases |
String[] |
projectionClauses |
Value[] |
projections |
Value[] |
range |
Class<?> |
resultClass |
ResultShape<?> |
shape |
Object |
state |
Map<Path,Value> |
updates
Map of
FieldMetaData ,Value for update statements. |
Constructor and Description |
---|
QueryExpressions() |
Modifier and Type | Method and Description |
---|---|
Context |
ctx()
Returns the current JPQL query context.
|
List<FieldMetaData> |
getParameterizedFields()
Gets the fields that are bound to parameters.
|
boolean |
isAggregate()
Whether this is an aggregate results.
|
boolean |
isDistinct() |
void |
putUpdate(Path path,
Value val)
Add an update.
|
void |
setContexts(Stack<Context> contexts)
Set reference to the JPQL query contexts.
|
public static final int DISTINCT_AUTO
public static final int DISTINCT_TRUE
public static final int DISTINCT_FALSE
public static final Value[] EMPTY_VALUES
public Map<Path,Value> updates
FieldMetaData
,Value
for update statements.public int distinct
public String alias
public Value[] projections
public String[] projectionClauses
public String[] projectionAliases
public Class<?> resultClass
public Expression filter
public Value[] grouping
public String[] groupingClauses
public Expression having
public Value[] ordering
public boolean[] ascending
public String[] orderingClauses
public String[] orderingAliases
public OrderedMap<Object,Class<?>> parameterTypes
public int operation
public ClassMetaData[] accessPath
public String[] fetchPaths
public String[] fetchInnerPaths
public Value[] range
public Object state
public ResultShape<?> shape
public boolean hasInExpression
public void setContexts(Stack<Context> contexts)
public Context ctx()
public boolean isAggregate()
public boolean isDistinct()
public List<FieldMetaData> getParameterizedFields()
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.