| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private TypeInfo | |
| private BinaryOperation. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public BinaryOperation. | Returns: the type of this binary operationReturns the type of this binary operation. |
| public StringBuilder | getUnenclosedSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements abstract org. Get the SQL statement of this expression. |
| private DbException | |
| private DbException | |
| public Value | getValue(SessionLocal
the session session)Implements abstract org. Return the resulting value for the current row. |
| public boolean | needParentheses()
Overrides org. Returns whether this expressions needs to be wrapped in parentheses when it is used as an argument of other expressions. |
| public Expression | optimize(SessionLocal
the session session)Implements abstract org. Try to optimize the expression. |
| private Expression | |
| private void | |
| private Expression | |
| private void | |
| public void | setForcedType(TypeInfo
the forced data type forcedType)Sets a forced data type of a datetime minus datetime operation. |
| private void |
| convertRight | back to summary |
|---|---|
| private boolean convertRight | |
| forcedType | back to summary |
|---|---|
| private TypeInfo forcedType | |
| opType | back to summary |
|---|---|
| private BinaryOperation. | |
| BinaryOperation | back to summary |
|---|---|
| public BinaryOperation(BinaryOperation. | |
| getOperationToken | back to summary |
|---|---|
| private String getOperationToken() | |
| getOperationType | back to summary |
|---|---|
| public BinaryOperation. Returns the type of this binary operation.
| |
| getUnenclosedSQL | back to summary |
|---|---|
| public StringBuilder getUnenclosedSQL(StringBuilder builder, int sqlFlags) Implements abstract org. Doc from org. Get the SQL statement of this expression. This may not always be the original SQL statement, especially after optimization. Enclosing '(' and ')' are never appended.
| |
| getUnexpectedForcedTypeException | back to summary |
|---|---|
| private DbException getUnexpectedForcedTypeException() | |
| getUnsupported | back to summary |
|---|---|
| private DbException getUnsupported(int l, int r) | |
| getValue | back to summary |
|---|---|
| public Value getValue(SessionLocal session) Implements abstract org. Doc from org. Return the resulting value for the current row.
| |
| needParentheses | back to summary |
|---|---|
| public boolean needParentheses() Overrides org. Doc from org. Returns whether this expressions needs to be wrapped in parentheses when it is used as an argument of other expressions.
| |
| optimize | back to summary |
|---|---|
| public Expression optimize(SessionLocal session) Implements abstract org. Doc from org. Try to optimize the expression.
| |
| optimizeDateTime | back to summary |
|---|---|
| private Expression optimizeDateTime(SessionLocal session, int l, int r) | |
| optimizeDecfloat | back to summary |
|---|---|
| private void optimizeDecfloat(TypeInfo leftType, TypeInfo rightType) | |
| optimizeInterval | back to summary |
|---|---|
| private Expression optimizeInterval(int l, int r) | |
| optimizeNumeric | back to summary |
|---|---|
| private void optimizeNumeric(TypeInfo leftType, TypeInfo rightType) | |
| setForcedType | back to summary |
|---|---|
| public void setForcedType(TypeInfo forcedType) Sets a forced data type of a datetime minus datetime operation.
| |
| swap | back to summary |
|---|---|
| private void swap() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BinaryOperation. | DIVIDE
This operation represents a division as in 4 / 2. |
| public static final BinaryOperation. | MINUS
This operation represents a subtraction as in 2 - 1. |
| public static final BinaryOperation. | MULTIPLY
This operation represents a multiplication as in 2 * 3. |
| public static final BinaryOperation. | PLUS
This operation represents an addition as in 1 + 2. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BinaryOperation. | |
| public static BinaryOperation. |
| DIVIDE | back to summary |
|---|---|
| public static final BinaryOperation. This operation represents a division as in 4 / 2. | |
| MINUS | back to summary |
|---|---|
| public static final BinaryOperation. This operation represents a subtraction as in 2 - 1. | |
| MULTIPLY | back to summary |
|---|---|
| public static final BinaryOperation. This operation represents a multiplication as in 2 * 3. | |
| PLUS | back to summary |
|---|---|
| public static final BinaryOperation. This operation represents an addition as in 1 + 2. | |
| OpType | back to summary |
|---|---|
| private OpType() | |
| valueOf | back to summary |
|---|---|
| public static BinaryOperation. | |
| values | back to summary |
|---|---|
| public static BinaryOperation. | |