Class PersistentPropertyUnaryPredicate<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.PersistentPropertyUnaryPredicate<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 PersistentPropertyUnaryPredicate<T>
extends AbstractPersistentPropertyPredicate<T>
The property unary 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 -
Field Summary
Fields inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate
persistentPropertyPath -
Constructor Summary
ConstructorsConstructorDescriptionPersistentPropertyUnaryPredicate(PersistentPropertyPath<T> persistentPropertyPath, PredicateUnaryOp op) -
Method Summary
Modifier and TypeMethodDescriptiongetOp()jakarta.persistence.criteria.Predicatenot()toString()voidvisitPredicate(PredicateVisitor predicateVisitor) Visit predicate.Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPersistentPropertyPredicate
getProperty, getPropertyPathMethods inherited from class io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
getAlias, getExpressions, getJavaType, getOperator, isNegated, visitExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in, in, in, in, isNotNull, isNull, visitSelectionMethods inherited from interface io.micronaut.data.model.jpa.criteria.IPredicate
isBoolean, isComparable, isNumericMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
PersistentPropertyUnaryPredicate
public PersistentPropertyUnaryPredicate(PersistentPropertyPath<T> persistentPropertyPath, PredicateUnaryOp op)
-
-
Method Details
-
getOp
-
not
public jakarta.persistence.criteria.Predicate not()- Specified by:
notin interfacejakarta.persistence.criteria.Predicate- Overrides:
notin classAbstractPredicate
-
visitPredicate
Description copied from interface:IPredicateVisit predicate.- Parameters:
predicateVisitor- The visitor
-
toString
-