Class AbstractPredicate
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
- 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>
- Direct Known Subclasses:
AbstractPersistentPropertyPredicate
,BetweenPredicate
,BinaryPredicate
,ConjunctionPredicate
,DisjunctionPredicate
,ExistsSubqueryPredicate
,InPredicate
,LikePredicate
,NegatedPredicate
,UnaryPredicate
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 TypeMethodDescriptiongetAlias()
jakarta.persistence.criteria.Predicate.BooleanOperator
boolean
jakarta.persistence.criteria.Predicate
not()
void
visitExpression
(ExpressionVisitor expressionVisitor) Visit the expression.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, visitSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IPredicate
getExpressionType, visitPredicate
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getCompoundSelectionItems, isCompoundSelection
-
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 interfaceIExpression<Boolean>
- Specified by:
getJavaType
in interfacejakarta.persistence.TupleElement<Boolean>
-
getAlias
- Specified by:
getAlias
in interfaceISelection<Boolean>
- Specified by:
getAlias
in interfacejakarta.persistence.TupleElement<Boolean>
-
visitExpression
Description copied from interface:IExpression
Visit the expression.- Specified by:
visitExpression
in interfaceIExpression<Boolean>
- Parameters:
expressionVisitor
- The expression visitor
-