Class QueryExpressions

  • All Implemented Interfaces:
    java.io.Serializable

    public class QueryExpressions
    extends java.lang.Object
    implements java.io.Serializable
    Struct to hold the state of a parsed expression query.
    Since:
    0.3.2
    Author:
    Abe White
    See Also:
    Serialized Form
    • Field Detail

      • EMPTY_VALUES

        public static final Value[] EMPTY_VALUES
      • distinct

        public int distinct
      • alias

        public java.lang.String alias
      • projections

        public Value[] projections
      • projectionClauses

        public java.lang.String[] projectionClauses
      • projectionAliases

        public java.lang.String[] projectionAliases
      • resultClass

        public java.lang.Class<?> resultClass
      • grouping

        public Value[] grouping
      • groupingClauses

        public java.lang.String[] groupingClauses
      • ordering

        public Value[] ordering
      • ascending

        public boolean[] ascending
      • orderingClauses

        public java.lang.String[] orderingClauses
      • orderingAliases

        public java.lang.String[] orderingAliases
      • parameterTypes

        public OrderedMap<java.lang.Object,​java.lang.Class<?>> parameterTypes
      • operation

        public int operation
      • fetchPaths

        public java.lang.String[] fetchPaths
      • fetchInnerPaths

        public java.lang.String[] fetchInnerPaths
      • range

        public Value[] range
      • state

        public java.lang.Object state
      • hasInExpression

        public boolean hasInExpression
    • Constructor Detail

      • QueryExpressions

        public QueryExpressions()
    • Method Detail

      • setContexts

        public void setContexts​(java.util.Stack<Context> contexts)
        Set reference to the JPQL query contexts.
      • ctx

        public Context ctx()
        Returns the current JPQL query context.
      • isAggregate

        public boolean isAggregate()
        Whether this is an aggregate results.
      • isDistinct

        public boolean isDistinct()
      • getParameterizedFields

        public java.util.List<FieldMetaData> getParameterizedFields()
        Gets the fields that are bound to parameters.
        Returns:
        empty if the query has no filtering condition or no parameters.
      • putUpdate

        public void putUpdate​(Path path,
                              Value val)
        Add an update.