Class AbstractPredicate
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
- All Implemented Interfaces:
IExpression<Boolean>
,PredicateVisitable
,SelectionVisitable
,IPredicate
,ISelection<Boolean>
,jakarta.persistence.criteria.Expression<Boolean>
,jakarta.persistence.criteria.Predicate
,jakarta.persistence.criteria.Selection<Boolean>
,jakarta.persistence.TupleElement<Boolean>
- Direct Known Subclasses:
AbstractPersistentPropertyPredicate
,ConjunctionPredicate
,DisjunctionPredicate
,ExpressionBinaryPredicate
,NegatedPredicate
@Internal
public abstract class AbstractPredicate
extends Object
implements IPredicate, PredicateVisitable, SelectionVisitable
Abstract 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SelectionVisitor selectionVisitor) getAlias()
jakarta.persistence.criteria.Predicate.BooleanOperator
boolean
jakarta.persistence.criteria.Predicate
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
-
Constructor Details
-
AbstractPredicate
public AbstractPredicate()
-
-
Method Details
-
getOperator
public jakarta.persistence.criteria.Predicate.BooleanOperator getOperator()- Specified by:
getOperator
in interfacejakarta.persistence.criteria.Predicate
-
not
public jakarta.persistence.criteria.Predicate not()- Specified by:
not
in interfacejakarta.persistence.criteria.Predicate
-
isNegated
public boolean isNegated()- Specified by:
isNegated
in interfacejakarta.persistence.criteria.Predicate
-
getExpressions
- Specified by:
getExpressions
in interfacejakarta.persistence.criteria.Predicate
-
getJavaType
- Specified by:
getJavaType
in interfacejakarta.persistence.TupleElement<Boolean>
-
getAlias
- Specified by:
getAlias
in interfaceISelection<Boolean>
- Specified by:
getAlias
in interfacejakarta.persistence.TupleElement<Boolean>
-
accept
- Specified by:
accept
in interfaceSelectionVisitable
-