public class LikePredicate extends AbstractSimplePredicate implements Serializable
Predicate.BooleanOperatorParameterContainer.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(boolean isNegated,
      RenderingContext renderingContext)
Form of  
Renderable.render(org.hibernate.jpa.criteria.compile.RenderingContext) used when the predicate is wrapped in a negated wrapper. | 
getExpressions, getOperator, isJunction, render, renderProjectiongetCompoundSelectionItems, isCompoundSelection, isNegated, notas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getValueHandlersforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcriteriaBuilderas, in, in, in, in, isNotNull, isNullgetAlias, getJavaTypegetValueHandlersgetValueHandlerpublic 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)
ParameterContainerregisterParameters in interface ParameterContainerregistry - The parameter registry with which to register.public String render(boolean isNegated, RenderingContext renderingContext)
PredicateImplementorRenderable.render(org.hibernate.jpa.criteria.compile.RenderingContext) used when the predicate is wrapped in a negated wrapper.  Allows passing
 down the negation flag.
 
 Note that this form is no-op in compound (junction) predicates.  The reason being that compound predicates
 are more complex and the negation is applied during its creation.render in interface PredicateImplementorisNegated - Should the predicate be negated.renderingContext - The context for renderingCopyright © 2017 JBoss by Red Hat. All rights reserved.