public class LikePredicate extends AbstractSimplePredicate implements Serializable
Predicate.BooleanOperator
ParameterContainer.Helper
Constructor and Description |
---|
LikePredicate(CriteriaBuilderImpl criteriaBuilder,
Expression<String> matchExpression,
Expression<String> pattern) |
LikePredicate(CriteriaBuilderImpl criteriaBuilder,
Expression<String> matchExpression,
Expression<String> pattern,
char escapeCharacter) |
LikePredicate(CriteriaBuilderImpl criteriaBuilder,
Expression<String> matchExpression,
Expression<String> pattern,
Expression<Character> escapeCharacter) |
LikePredicate(CriteriaBuilderImpl criteriaBuilder,
Expression<String> matchExpression,
String pattern) |
LikePredicate(CriteriaBuilderImpl criteriaBuilder,
Expression<String> matchExpression,
String pattern,
char escapeCharacter) |
LikePredicate(CriteriaBuilderImpl criteriaBuilder,
Expression<String> matchExpression,
String pattern,
Expression<Character> escapeCharacter) |
Modifier and Type | Method and Description |
---|---|
Expression<Character> |
getEscapeCharacter() |
Expression<String> |
getMatchExpression() |
Expression<String> |
getPattern() |
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
String |
render(CriteriaQueryCompiler.RenderingContext renderingContext) |
String |
renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext) |
getExpressions, getOperator
getCompoundSelectionItems, isCompoundSelection, isNegated, not
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getValueHandlers
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
getAlias, getJavaType
getValueHandlers
getValueHandler
public LikePredicate(CriteriaBuilderImpl criteriaBuilder, Expression<String> matchExpression, Expression<String> pattern)
public LikePredicate(CriteriaBuilderImpl criteriaBuilder, Expression<String> matchExpression, String pattern)
public LikePredicate(CriteriaBuilderImpl criteriaBuilder, Expression<String> matchExpression, Expression<String> pattern, Expression<Character> escapeCharacter)
public LikePredicate(CriteriaBuilderImpl criteriaBuilder, Expression<String> matchExpression, Expression<String> pattern, char escapeCharacter)
public LikePredicate(CriteriaBuilderImpl criteriaBuilder, Expression<String> matchExpression, String pattern, char escapeCharacter)
public LikePredicate(CriteriaBuilderImpl criteriaBuilder, Expression<String> matchExpression, String pattern, Expression<Character> escapeCharacter)
public Expression<Character> getEscapeCharacter()
public Expression<String> getMatchExpression()
public Expression<String> getPattern()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registry
- The parameter registry with which to register.public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render
in interface Renderable
public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
renderProjection
in interface Renderable
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.