Class AbstractPersistentPropertyPredicate<T>
- java.lang.Object
-
- io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
-
- io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate<T>
-
- Type Parameters:
T
- The property type
- All Implemented Interfaces:
IExpression<java.lang.Boolean>
,PredicateVisitable
,SelectionVisitable
,IPredicate
,ISelection<java.lang.Boolean>
,jakarta.persistence.criteria.Expression<java.lang.Boolean>
,jakarta.persistence.criteria.Predicate
,jakarta.persistence.criteria.Selection<java.lang.Boolean>
,jakarta.persistence.TupleElement<java.lang.Boolean>
- Direct Known Subclasses:
PersistentPropertyBetweenPredicate
,PersistentPropertyBinaryPredicate
,PersistentPropertyInPredicate
,PersistentPropertyInValuesPredicate
,PersistentPropertyUnaryPredicate
@Internal public abstract class AbstractPersistentPropertyPredicate<T> extends AbstractPredicate implements PredicateVisitable
Abstract predicate represented by a property path.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Field Summary
Fields Modifier and Type Field Description protected PersistentPropertyPath<T>
persistentPropertyPath
-
Constructor Summary
Constructors Constructor Description AbstractPersistentPropertyPredicate(PersistentPropertyPath<T> persistentPropertyPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentProperty
getProperty()
PersistentPropertyPath<T>
getPropertyPath()
-
Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
accept, getAlias, getExpressions, getJavaType, getOperator, isNegated, not
-
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
-
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
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.impl.PredicateVisitable
accept
-
-
-
-
Field Detail
-
persistentPropertyPath
protected final PersistentPropertyPath<T> persistentPropertyPath
-
-
Constructor Detail
-
AbstractPersistentPropertyPredicate
public AbstractPersistentPropertyPredicate(PersistentPropertyPath<T> persistentPropertyPath)
-
-
Method Detail
-
getPropertyPath
public final PersistentPropertyPath<T> getPropertyPath()
-
getProperty
public final PersistentProperty getProperty()
-
-