Class SqmJunctionPredicate
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
org.hibernate.query.sqm.tree.predicate.SqmJunctionPredicate
- 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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
Predicate.BooleanOperator
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmJunctionPredicate
(Predicate.BooleanOperator booleanOperator, List<SqmPredicate> predicates, NodeBuilder nodeBuilder) SqmJunctionPredicate
(Predicate.BooleanOperator booleanOperator, SqmPredicate leftHandPredicate, SqmPredicate rightHandPredicate, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(SemanticQueryWalker<T> walker) Accept the walker per visitationvoid
copy
(SqmCopyContext context) boolean
not()
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, nodeBuilder
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
alias, getSelectionItems, isCompoundSelection
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods 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, visitSubSelectableNodes
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
Methods inherited from interface org.hibernate.query.sqm.tree.predicate.SqmPredicate
getJavaTypeDescriptor
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmJunctionPredicate
public SqmJunctionPredicate(Predicate.BooleanOperator booleanOperator, SqmPredicate leftHandPredicate, SqmPredicate rightHandPredicate, NodeBuilder nodeBuilder) -
SqmJunctionPredicate
public SqmJunctionPredicate(Predicate.BooleanOperator booleanOperator, List<SqmPredicate> predicates, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
-
getPredicates
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation -
getOperator
- Specified by:
getOperator
in interfacePredicate
- Overrides:
getOperator
in classAbstractSqmPredicate
-
isNegated
public boolean isNegated() -
getExpressions
- Specified by:
getExpressions
in interfacePredicate
- Overrides:
getExpressions
in classAbstractSqmPredicate
-
not
-
appendHqlString
-