Top Constructors Methods
org.hibernate.query.sqm.tree.predicate

public abstract Class AbstractSqmPredicate

extends AbstractSqmExpression<Boolean>
implements SqmPredicate
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.predicate.SqmPredicate, org.hibernate.query.sqm.tree.expression.SqmExpression, org.hibernate.query.criteria.JpaExpression, jakarta.persistence.criteria.Expression, jakarta.persistence.criteria.Selection, jakarta.persistence.TupleElement, org.hibernate.query.criteria.JpaSelection, org.hibernate.query.criteria.JpaTupleElement, org.hibernate.query.criteria.JpaCriteriaNode, java.io.Serializable, org.hibernate.query.sqm.tree.select.SqmSelectableNode, org.hibernate.query.sqm.tree.SqmTypedNode, org.hibernate.query.sqm.tree.SqmVisitableNode, org.hibernate.query.sqm.tree.SqmNode, org.hibernate.query.sqm.tree.SqmExpressibleAccessor, org.hibernate.query.criteria.JpaPredicate, jakarta.persistence.criteria.Predicate
Known Direct Subclasses
org.hibernate.query.sqm.tree.predicate.SqmGroupedPredicate, org.hibernate.query.sqm.tree.predicate.SqmJunctionPredicate, org.hibernate.query.sqm.tree.predicate.AbstractNegatableSqmPredicate
Imports
java.util.ArrayList, .List, org.hibernate.query.sqm.NodeBuilder, .SqmExpressible, org.hibernate.query.sqm.tree.expression.AbstractSqmExpression, jakarta.persistence.criteria.Expression

Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<Expression<Boolean>>
getExpressions()

Implements jakarta.persistence.criteria.Predicate.getExpressions.

Return the top-level conjuncts or disjuncts of the predicate.
public Predicate.BooleanOperator
getOperator()

Implements jakarta.persistence.criteria.Predicate.getOperator.

Return the boolean operator for the predicate.
Inherited from org.hibernate.query.sqm.tree.expression.AbstractSqmExpression:
aliasapplyInferableTypeasasBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasStringequalToequalTogetJavaTypeDescriptorinininininternalApplyInferableTypeisNotNullisNullnodeBuilder

Constructor Detail

AbstractSqmPredicateback to summary
public AbstractSqmPredicate(SqmExpressible<Boolean> type, NodeBuilder criteriaBuilder)

Method Detail

getExpressionsback to summary
public List<Expression<Boolean>> getExpressions()

Implements jakarta.persistence.criteria.Predicate.getExpressions.

Doc from jakarta.persistence.criteria.Predicate.getExpressions.

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.

Returns:List<Expression<Boolean>>

list of boolean expressions forming the predicate

Annotations
@Override
getOperatorback to summary
public Predicate.BooleanOperator getOperator()

Implements jakarta.persistence.criteria.Predicate.getOperator.

Doc from jakarta.persistence.criteria.Predicate.getOperator.

Return the boolean operator for the predicate. If the predicate is simple, this is AND.

Returns:Predicate.BooleanOperator

boolean operator for the predicate

Annotations
@Override