Class PersistentPropertyBetweenPredicate<T>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate<T>
io.micronaut.data.model.jpa.criteria.impl.predicate.PersistentPropertyBetweenPredicate<T>
- Type Parameters:
T
- The property type
- 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>
@Internal
public final class PersistentPropertyBetweenPredicate<T>
extends AbstractPersistentPropertyPredicate<T>
The property between 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
-
Field Summary
Fields inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate
persistentPropertyPath
-
Constructor Summary
ConstructorDescriptionPersistentPropertyBetweenPredicate
(PersistentPropertyPath<T> persistentPropertyPath, jakarta.persistence.criteria.Expression<?> from, jakarta.persistence.criteria.Expression<?> to) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.Expression<?>
getFrom()
jakarta.persistence.criteria.Expression<?>
getTo()
toString()
void
visitPredicate
(PredicateVisitor predicateVisitor) Visit predicate.Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate
getProperty, getPropertyPath
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
isBoolean, isComparable, isNumeric
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
PersistentPropertyBetweenPredicate
public PersistentPropertyBetweenPredicate(PersistentPropertyPath<T> persistentPropertyPath, jakarta.persistence.criteria.Expression<?> from, jakarta.persistence.criteria.Expression<?> to)
-
-
Method Details
-
getFrom
public jakarta.persistence.criteria.Expression<?> getFrom() -
getTo
public jakarta.persistence.criteria.Expression<?> getTo() -
visitPredicate
Description copied from interface:IPredicate
Visit predicate.- Parameters:
predicateVisitor
- The visitor
-
toString
-