Interface BinaryExpression<T,FIRST extends Expression<T>,SECOND extends Expression<T>>
-
- Type Parameters:
T- the input entity typeFIRST- the type of the first operand, an expressionSECOND- the type of the second operand, an expression
- All Superinterfaces:
Expression<T>
public interface BinaryExpression<T,FIRST extends Expression<T>,SECOND extends Expression<T>> extends Expression<T>
AnExpressionthat has two operands, both are implementations ofExpression.Equality is determined by looking at
first(),second()andoperator().- Since:
- 3.1.0
- Author:
- Emil Forslund
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBinaryExpression.OperatorOperator types that could be returned byoperator().
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FIRSTfirst()Returns the first operand, an inner expression.BinaryExpression.Operatoroperator()Returns the binary operator that this expression represents.SECONDsecond()Returns the second operand, an inner expression.-
Methods inherited from interface com.speedment.runtime.compute.expression.Expression
expressionType
-
-
-
-
Method Detail
-
first
FIRST first()
Returns the first operand, an inner expression.- Returns:
- the first operand
-
second
SECOND second()
Returns the second operand, an inner expression.- Returns:
- the second operand
-
operator
BinaryExpression.Operator operator()
Returns the binary operator that this expression represents.- Returns:
- the operator
-
-