Class AbstractSqmPredicate

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
Direct Known Subclasses:
AbstractNegatableSqmPredicate, SqmGroupedPredicate, SqmJunctionPredicate

public abstract class AbstractSqmPredicate extends AbstractSqmExpression<Boolean> implements SqmPredicate
Author:
Steve Ebersole
See Also:
  • Constructor Details

  • Method Details

    • getOperator

      public Predicate.BooleanOperator getOperator()
      Description copied from interface: Predicate
      Return the boolean operator for the predicate. If the predicate is simple, this is AND.
      Specified by:
      getOperator in interface Predicate
      Returns:
      boolean operator for the 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
      Returns:
      list of boolean expressions forming the predicate