| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.exps.QueryExpressions
public class QueryExpressions
Struct to hold the state of a parsed expression query.
| Field Summary | |
|---|---|
|  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> | updatesMap of FieldMetaData,Valuefor update statements. | 
| Constructor Summary | |
|---|---|
| QueryExpressions() | |
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
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
| Constructor Detail | 
|---|
public QueryExpressions()
| Method Detail | 
|---|
public void setContexts(Stack<Context> contexts)
contexts - public Context ctx()
public boolean isAggregate()
public boolean isDistinct()
public List<FieldMetaData> getParameterizedFields()
public void putUpdate(Path path,
                      Value val)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||