| Modifier and Type | Field and Description |
|---|---|
| private final Expression | |
| private final BinaryArithmeticOperator | |
| private final BasicValuedMapping | |
| private final Expression |
| Access | Constructor and Description |
|---|---|
| public | BinaryArithmeticExpression(Expression lhsOperand, BinaryArithmeticOperator operator, Expression rhsOperand, BasicValuedMapping resultType)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | applySqlSelections(DomainResultCreationState creationState)
Implements org. |
| public DomainResult | createDomainResult(String resultVariable, DomainResultCreationState creationState)
Implements org. |
| public BasicValuedMapping | getExpressionType()
Implements org. |
| public Expression | |
| public BinaryArithmeticOperator | |
| public Expression | |
| public SqlSelection |
| lhsOperand | back to summary |
|---|---|
| private final Expression lhsOperand | |
| operator | back to summary |
|---|---|
| private final BinaryArithmeticOperator operator | |
| resultType | back to summary |
|---|---|
| private final BasicValuedMapping resultType | |
| rhsOperand | back to summary |
|---|---|
| private final Expression rhsOperand | |
| BinaryArithmeticExpression | back to summary |
|---|---|
| public BinaryArithmeticExpression(Expression lhsOperand, BinaryArithmeticOperator operator, Expression rhsOperand, BasicValuedMapping resultType) | |
| accept | back to summary |
|---|---|
| public void accept(SqlAstWalker walker) Implements org.
| |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(DomainResultCreationState creationState) Implements org. Doc from org. Used when this producer is a selection in a sub-query. The DomainResult is only needed for root query of a SELECT statement. This default impl assumes this producer is a true (Sql)Expression
| |
| createDomainResult | back to summary |
|---|---|
| public DomainResult Implements org. Doc from org. Produce the domain query
| |
| getExpressionType | back to summary |
|---|---|
| public BasicValuedMapping getExpressionType() Implements org. Doc from org. The type for this expression
| |
| getLeftHandOperand | back to summary |
|---|---|
| public Expression getLeftHandOperand() Get the left-hand operand.
| |
| getOperator | back to summary |
|---|---|
| public BinaryArithmeticOperator getOperator() Get the operation
| |
| getRightHandOperand | back to summary |
|---|---|
| public Expression getRightHandOperand() Get the right-hand operand.
| |
| resolveSqlSelection | back to summary |
|---|---|
| public SqlSelection resolveSqlSelection(DomainResultCreationState creationState) | |