Class UnaryPredicate
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.UnaryPredicate
- 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 unary 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
ConstructorDescriptionUnaryPredicate
(@NonNull jakarta.persistence.criteria.Expression<?> expression, @NonNull PredicateUnaryOp op) -
Method Summary
Modifier and TypeMethodDescription@NonNull jakarta.persistence.criteria.Expression<?>
@NonNull PredicateUnaryOp
getOp()
jakarta.persistence.criteria.Predicate
not()
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, 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
-
Constructor Details
-
UnaryPredicate
public UnaryPredicate(@NonNull @NonNull jakarta.persistence.criteria.Expression<?> expression, @NonNull @NonNull PredicateUnaryOp op)
-
-
Method Details
-
getExpression
@NonNull public @NonNull jakarta.persistence.criteria.Expression<?> getExpression() -
getOp
-
not
public jakarta.persistence.criteria.Predicate not()- Specified by:
not
in interfacejakarta.persistence.criteria.Predicate
- Overrides:
not
in classAbstractPredicate
-
visitPredicate
Description copied from interface:IPredicate
Visit predicate.- Parameters:
predicateVisitor
- The visitor
-
toString
-