Class LikePredicate
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.LikePredicate
- All Implemented Interfaces:
IExpression<Boolean>
,IPredicate
,ISelection<Boolean>
,jakarta.persistence.criteria.Expression<Boolean>
,jakarta.persistence.criteria.Predicate
,jakarta.persistence.criteria.Selection<Boolean>
,jakarta.persistence.TupleElement<Boolean>
The property binary operation predicate implementation.
- Since:
- 3.2
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
jakarta.persistence.criteria.Predicate.BooleanOperator
-
Constructor Summary
ConstructorDescriptionLikePredicate
(jakarta.persistence.criteria.Expression<String> expression, jakarta.persistence.criteria.Expression<String> pattern) LikePredicate
(jakarta.persistence.criteria.Expression<String> expression, jakarta.persistence.criteria.Expression<String> pattern, jakarta.persistence.criteria.Expression<Character> escapeChar, boolean negated) LikePredicate
(jakarta.persistence.criteria.Expression<String> expression, jakarta.persistence.criteria.Expression<String> pattern, jakarta.persistence.criteria.Expression<Character> escapeChar, boolean negated, boolean caseInsensitive) -
Method Summary
Modifier and TypeMethodDescription@Nullable jakarta.persistence.criteria.Expression<Character>
jakarta.persistence.criteria.Expression<String>
jakarta.persistence.criteria.Expression<String>
boolean
boolean
jakarta.persistence.criteria.Predicate
not()
void
visitPredicate
(PredicateVisitor predicateVisitor) Visit predicate.Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
getAlias, getExpressions, getJavaType, getOperator, visitExpression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in, in, in, in, isNotNull, isNull, visitSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IPredicate
getExpressionType
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
LikePredicate
-
LikePredicate
-
LikePredicate
-
-
Method Details
-
not
public jakarta.persistence.criteria.Predicate not()- Specified by:
not
in interfacejakarta.persistence.criteria.Predicate
- Overrides:
not
in classAbstractPredicate
-
getExpression
-
getPattern
-
getEscapeChar
-
isNegated
public boolean isNegated()- Specified by:
isNegated
in interfacejakarta.persistence.criteria.Predicate
- Overrides:
isNegated
in classAbstractPredicate
-
isCaseInsensitive
public boolean isCaseInsensitive() -
visitPredicate
Description copied from interface:IPredicate
Visit predicate.- Parameters:
predicateVisitor
- The visitor
-