Class SqmGroupedPredicate

All Implemented Interfaces:
Expression<Boolean>, Predicate, Selection<Boolean>, TupleElement<Boolean>, Serializable, JpaCriteriaNode, JpaExpression<Boolean>, JpaPredicate, JpaSelection<Boolean>, JpaTupleElement<Boolean>, SqmExpression<Boolean>, SqmPredicate, SqmSelectableNode<Boolean>, SqmExpressibleAccessor<Boolean>, SqmNode, SqmTypedNode<Boolean>, SqmVisitableNode

public class SqmGroupedPredicate extends AbstractSqmPredicate
Author:
Steve Ebersole
See Also:
  • Constructor Details

  • Method Details

    • copy

      public SqmGroupedPredicate copy(SqmCopyContext context)
    • getSubPredicate

      public SqmPredicate getSubPredicate()
    • accept

      public <T> T accept(SemanticQueryWalker<T> walker)
      Description copied from interface: SqmVisitableNode
      Accept the walker per visitation
    • isNegated

      public boolean isNegated()
      Description copied from interface: Predicate
      Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not() method.
      Returns:
      boolean indicating if the predicate is a negated predicate
    • getExpressions

      public List<Expression<Boolean>> getExpressions()
      Description copied from interface: Predicate
      Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate. Modifications to the list do not affect the query.
      Specified by:
      getExpressions in interface Predicate
      Overrides:
      getExpressions in class AbstractSqmPredicate
      Returns:
      list of boolean expressions forming the predicate
    • not

      public SqmPredicate not()
      Description copied from interface: Predicate
      Create a negation of the predicate.
      Returns:
      negated predicate
    • appendHqlString

      public void appendHqlString(StringBuilder sb)