Class SqmJunctionPredicate
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<Boolean>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<Boolean>
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>, SqmCacheable, SqmExpressibleAccessor<Boolean>, SqmNode, SqmTypedNode<Boolean>, SqmVisitableNode
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Predicate
Predicate.BooleanOperator -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmJunctionPredicate(Predicate.BooleanOperator booleanOperator, List<SqmPredicate> predicates, NodeBuilder nodeBuilder) SqmJunctionPredicate(Predicate.BooleanOperator booleanOperator, SqmBindableType<Boolean> expressible, NodeBuilder nodeBuilder) SqmJunctionPredicate(Predicate.BooleanOperator booleanOperator, SqmPredicate leftHandPredicate, SqmPredicate rightHandPredicate, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(SemanticQueryWalker<T> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) intcopy(SqmCopyContext context) booleaninthashCode()booleanisCompatible(Object object) booleannot()Methods inherited from class AbstractSqmPredicate
getExpressible, getJavaTypeDescriptor, getNodeJavaType, getNodeTypeMethods inherited from class AbstractSqmExpression
applyInferableType, as, cast, equalTo, equalTo, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualToMethods inherited from class AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo, visitSubSelectableNodesMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmVisitableNode
toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmJunctionPredicate
public SqmJunctionPredicate(Predicate.BooleanOperator booleanOperator, SqmBindableType<Boolean> expressible, NodeBuilder nodeBuilder) -
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:SqmVisitableNodeAccept the walker per visitation -
getOperator
- Specified by:
getOperatorin interfacePredicate- Overrides:
getOperatorin classAbstractSqmPredicate
-
isNegated
public boolean isNegated() -
getExpressions
- Specified by:
getExpressionsin interfacePredicate- Overrides:
getExpressionsin classAbstractSqmPredicate
-
not
-
appendHqlString
-
equals
-
hashCode
-
isCompatible
-
cacheHashCode
public int cacheHashCode()
-