Package com.enonic.xp.query.expr

## Class QueryExpr

- java.lang.Object
- - com.enonic.xp.query.expr.QueryExpr

- All Implemented Interfaces:
    `Expression`

      @PublicApi
      public final class QueryExpr
      extends Object
      implements Expression

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QueryExpr​(ConstraintExpr constraint, Iterable<OrderExpr> orderSet)` |
    `QueryExpr​(Iterable<OrderExpr> orderSet)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static QueryExpr` | `from​(ConstraintExpr constraint, OrderExpr... orderSet)` |
    `static QueryExpr` | `from​(ConstraintExpr constraint, Iterable<OrderExpr> orderSet)` |
    `ConstraintExpr` | `getConstraint()` |
    `List<OrderExpr>` | `getOrderList()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### QueryExpr

          public QueryExpr​(ConstraintExpr constraint,
                           Iterable<OrderExpr> orderSet)

    - #### QueryExpr

          public QueryExpr​(Iterable<OrderExpr> orderSet)

  - ### Method Detail

    - #### from

          public static QueryExpr from​(ConstraintExpr constraint,
                                       OrderExpr... orderSet)

    - #### from

          public static QueryExpr from​(ConstraintExpr constraint,
                                       Iterable<OrderExpr> orderSet)

    - #### getConstraint

          public ConstraintExpr getConstraint()

    - #### getOrderList

          public List<OrderExpr> getOrderList()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`