Class BinaryExpression<E>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.expression.AbstractExpression<E>
io.micronaut.data.model.jpa.criteria.impl.expression.BinaryExpression<E>
- Type Parameters:
E
- The expression type
- All Implemented Interfaces:
IExpression<E>
,ISelection<E>
,jakarta.persistence.criteria.Expression<E>
,jakarta.persistence.criteria.Selection<E>
,jakarta.persistence.TupleElement<E>
The binary expression.
- Since:
- 4.9
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorDescriptionBinaryExpression
(jakarta.persistence.criteria.Expression<?> left, jakarta.persistence.criteria.Expression<?> right, BinaryExpressionType type, @Nullable Class<E> expressionType) -
Method Summary
Modifier and TypeMethodDescription@NonNull jakarta.persistence.criteria.Expression<?>
getLeft()
@NonNull jakarta.persistence.criteria.Expression<?>
getRight()
@NonNull BinaryExpressionType
getType()
toString()
void
visitExpression
(ExpressionVisitor expressionVisitor) Visit the expression.Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.expression.AbstractExpression
getExpressionType, getJavaType
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.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
BinaryExpression
public BinaryExpression(jakarta.persistence.criteria.Expression<?> left, jakarta.persistence.criteria.Expression<?> right, BinaryExpressionType type, @Nullable @Nullable Class<E> expressionType)
-
-
Method Details
-
getType
-
getLeft
@NonNull public @NonNull jakarta.persistence.criteria.Expression<?> getLeft() -
getRight
@NonNull public @NonNull jakarta.persistence.criteria.Expression<?> getRight() -
visitExpression
Description copied from interface:IExpression
Visit the expression.- Parameters:
expressionVisitor
- The expression visitor
-
toString
-