Class ExpressionBinaryPredicate
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.ExpressionBinaryPredicate
- 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>
@Internal
public final class ExpressionBinaryPredicate
extends AbstractPredicate
implements PredicateVisitable
The expression binary operation predicate implementation.
- Since:
- 3.3
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.Predicate
jakarta.persistence.criteria.Predicate.BooleanOperator
-
Constructor Summary
ConstructorDescriptionExpressionBinaryPredicate
(jakarta.persistence.criteria.Expression<?> left, jakarta.persistence.criteria.Expression<?> right, PredicateBinaryOp op) -
Method Summary
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, 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
-
Constructor Details
-
ExpressionBinaryPredicate
public ExpressionBinaryPredicate(jakarta.persistence.criteria.Expression<?> left, jakarta.persistence.criteria.Expression<?> right, PredicateBinaryOp op)
-
-
Method Details
-
getOp
-
getLeft
public jakarta.persistence.criteria.Expression<?> getLeft() -
getRight
public jakarta.persistence.criteria.Expression<?> getRight() -
accept
- Specified by:
accept
in interfacePredicateVisitable
-
toString
-