Class LikePredicate
- java.lang.Object
-
- org.hibernate.sql.ast.tree.predicate.AbstractPredicate
-
- org.hibernate.sql.ast.tree.predicate.LikePredicate
-
- All Implemented Interfaces:
DomainResultProducer<Boolean>
,SqlSelectionProducer
,Expression
,Predicate
,SqlAstNode
public class LikePredicate extends AbstractPredicate
-
-
Constructor Summary
Constructors Constructor Description LikePredicate(Expression matchExpression, Expression pattern)
LikePredicate(Expression matchExpression, Expression pattern, Expression escapeCharacter)
LikePredicate(Expression matchExpression, Expression pattern, Expression escapeCharacter, boolean negated)
LikePredicate(Expression matchExpression, Expression pattern, Expression escapeCharacter, boolean negated, boolean isCaseSensitive, JdbcMappingContainer expressionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
Expression
getEscapeCharacter()
Expression
getMatchExpression()
Expression
getPattern()
boolean
isCaseSensitive()
-
Methods inherited from class org.hibernate.sql.ast.tree.predicate.AbstractPredicate
getExpressionType, isEmpty, isNegated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createDomainResultSqlSelection, createSqlSelection, createSqlSelection, getColumnReference
-
Methods inherited from interface org.hibernate.sql.ast.tree.predicate.Predicate
applySqlSelections, createDomainResult
-
-
-
-
Constructor Detail
-
LikePredicate
public LikePredicate(Expression matchExpression, Expression pattern)
-
LikePredicate
public LikePredicate(Expression matchExpression, Expression pattern, Expression escapeCharacter)
-
LikePredicate
public LikePredicate(Expression matchExpression, Expression pattern, Expression escapeCharacter, boolean negated)
-
LikePredicate
public LikePredicate(Expression matchExpression, Expression pattern, Expression escapeCharacter, boolean negated, boolean isCaseSensitive, JdbcMappingContainer expressionType)
-
-
Method Detail
-
getMatchExpression
public Expression getMatchExpression()
-
getPattern
public Expression getPattern()
-
getEscapeCharacter
public Expression getEscapeCharacter()
-
isCaseSensitive
public boolean isCaseSensitive()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
-
-