Class AbstractSqmPredicate
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<T>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<T>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<Boolean>
org.hibernate.query.sqm.tree.predicate.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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
Predicate.BooleanOperator -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSqmPredicate(SqmExpressible<Boolean> type, NodeBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescriptionReturn the top-level conjuncts or disjuncts of the predicate.Return the boolean operator for the predicate.Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilderMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, getNodeType, in, in, in, in, isNotNull, isNull, visitSubSelectableNodesMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilderMethods inherited from interface org.hibernate.query.sqm.tree.predicate.SqmPredicate
copy, getJavaTypeDescriptor, notMethods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, appendHqlString, toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
AbstractSqmPredicate
-
-
Method Details
-
getOperator
Description copied from interface:PredicateReturn the boolean operator for the predicate. If the predicate is simple, this isAND.- Specified by:
getOperatorin interfacePredicate- Returns:
- boolean operator for the predicate
-
getExpressions
Description copied from interface:PredicateReturn 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:
getExpressionsin interfacePredicate- Returns:
- list of boolean expressions forming the predicate
-