Class SqmLikePredicate
- 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.AbstractNegatableSqmPredicate
-
- org.hibernate.query.sqm.tree.predicate.SqmLikePredicate
-
- All Implemented Interfaces:
Expression<Boolean>
,Predicate
,Selection<Boolean>
,TupleElement<Boolean>
,Serializable
,JpaCriteriaNode
,JpaExpression<Boolean>
,JpaPredicate
,JpaSelection<Boolean>
,JpaTupleElement<Boolean>
,SqmExpression<Boolean>
,SqmNegatablePredicate
,SqmPredicate
,SqmSelectableNode<Boolean>
,SqmExpressibleAccessor<Boolean>
,SqmNode
,SqmTypedNode<Boolean>
,SqmVisitableNode
public class SqmLikePredicate extends AbstractNegatableSqmPredicate
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
Predicate.BooleanOperator
-
-
Constructor Summary
Constructors Constructor Description SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, boolean negated, boolean isCaseSensitive, NodeBuilder nodeBuilder)
SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, NodeBuilder nodeBuilder)
SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, SqmExpression<?> escapeCharacter, boolean negated, boolean isCaseSensitive, NodeBuilder nodeBuilder)
SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, SqmExpression<?> escapeCharacter, boolean negated, NodeBuilder nodeBuilder)
SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, SqmExpression<?> escapeCharacter, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(SemanticQueryWalker<T> walker)
Accept the walker per visitationvoid
appendHqlString(StringBuilder sb)
SqmLikePredicate
copy(SqmCopyContext context)
protected SqmNegatablePredicate
createNegatedNode()
SqmExpression<?>
getEscapeCharacter()
SqmExpression<?>
getMatchExpression()
SqmExpression<?>
getPattern()
boolean
isCaseSensitive()
-
Methods inherited from class org.hibernate.query.sqm.tree.predicate.AbstractNegatableSqmPredicate
isNegated, negate, not
-
Methods inherited from class org.hibernate.query.sqm.tree.predicate.AbstractSqmPredicate
getExpressions, getOperator
-
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
alias, applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder
-
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
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
-
Methods inherited from interface jakarta.persistence.criteria.Predicate
getExpressions, getOperator
-
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, castAs, 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.SqmTypedNode
getExpressible, getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Constructor Detail
-
SqmLikePredicate
public SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, SqmExpression<?> escapeCharacter, NodeBuilder nodeBuilder)
-
SqmLikePredicate
public SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, SqmExpression<?> escapeCharacter, boolean negated, NodeBuilder nodeBuilder)
-
SqmLikePredicate
public SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, SqmExpression<?> escapeCharacter, boolean negated, boolean isCaseSensitive, NodeBuilder nodeBuilder)
-
SqmLikePredicate
public SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, NodeBuilder nodeBuilder)
-
SqmLikePredicate
public SqmLikePredicate(SqmExpression<?> matchExpression, SqmExpression<?> pattern, boolean negated, boolean isCaseSensitive, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public SqmLikePredicate copy(SqmCopyContext context)
-
getMatchExpression
public SqmExpression<?> getMatchExpression()
-
getPattern
public SqmExpression<?> getPattern()
-
getEscapeCharacter
public SqmExpression<?> getEscapeCharacter()
-
isCaseSensitive
public boolean isCaseSensitive()
-
accept
public <T> T accept(SemanticQueryWalker<T> walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation
-
appendHqlString
public void appendHqlString(StringBuilder sb)
-
createNegatedNode
protected SqmNegatablePredicate createNegatedNode()
- Specified by:
createNegatedNode
in classAbstractNegatableSqmPredicate
-
-