Class InPredicate<T>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.InPredicate<T>
- Type Parameters:
T
- The expression type
- All Implemented Interfaces:
IExpression<Boolean>
,IPredicate
,ISelection<Boolean>
,jakarta.persistence.criteria.CriteriaBuilder.In<T>
,jakarta.persistence.criteria.Expression<Boolean>
,jakarta.persistence.criteria.Predicate
,jakarta.persistence.criteria.Selection<Boolean>
,jakarta.persistence.TupleElement<Boolean>
@Internal
public final class InPredicate<T>
extends AbstractPredicate
implements jakarta.persistence.criteria.CriteriaBuilder.In<T>
The IN 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
ConstructorDescriptionInPredicate
(jakarta.persistence.criteria.Expression<T> expression, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) InPredicate
(jakarta.persistence.criteria.Expression<T> expression, Collection<jakarta.persistence.criteria.Expression<?>> values, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.Expression<T>
@NonNull List<jakarta.persistence.criteria.Expression<?>>
toString()
void
visitPredicate
(PredicateVisitor predicateVisitor) Visit predicate.Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
getAlias, getExpressions, getJavaType, getOperator, isNegated, not, visitExpression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
Methods inherited from interface jakarta.persistence.criteria.Predicate
getExpressions, getOperator, isNegated, not
-
Constructor Details
-
InPredicate
public InPredicate(jakarta.persistence.criteria.Expression<T> expression, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) -
InPredicate
public InPredicate(jakarta.persistence.criteria.Expression<T> expression, Collection<jakarta.persistence.criteria.Expression<?>> values, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder)
-
-
Method Details
-
getValues
-
getExpression
- Specified by:
getExpression
in interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>
-
value
- Specified by:
value
in interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>
-
value
- Specified by:
value
in interfacejakarta.persistence.criteria.CriteriaBuilder.In<T>
-
visitPredicate
Description copied from interface:IPredicate
Visit predicate.- Specified by:
visitPredicate
in interfaceIPredicate
- Parameters:
predicateVisitor
- The visitor
-
toString
-