| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Type | getDataType()
Overrides org. Implements org. |
| public String | getDisplayText()
Implements org. |
| public Node | Returns: The left-hand operandImplements org. |
| public Node | Returns: The right-hand operandImplements org. |
| public void | initialize()
Implements org. |
| private boolean | |
| private Type | |
| private Type | |
| public void | setScalarColumnText(int
The index of the select expression in the projection list. i)Implements org. |
| BinaryArithmeticOperatorNode | back to summary |
|---|---|
| public BinaryArithmeticOperatorNode() | |
| getDataType | back to summary |
|---|---|
| public Type getDataType() Overrides org. Implements org. Figure out the type of the binary expression by looking at the types of the operands. Sometimes we don't know both types, if, for example, one is a parameter.
| |
| getDisplayText | back to summary |
|---|---|
| public String getDisplayText() Implements org. Doc from org. Returns additional display text for the AST node. | |
| getLeftHandOperand | back to summary |
|---|---|
| public Node getLeftHandOperand() Implements org. Retrieves the left-hand operand of the operator. | |
| getRightHandOperand | back to summary |
|---|---|
| public Node getRightHandOperand() Implements org. Retrieves the right-hand operand of the operator. | |
| initialize | back to summary |
|---|---|
| public void initialize() throws SemanticException Implements org. Doc from org. Called by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.
| |
| isDateTimeType | back to summary |
|---|---|
| private boolean isDateTimeType(Type type) | |
| resolveDataType | back to summary |
|---|---|
| private Type resolveDataType() | |
| resolveDateTimeArithmeticResultType | back to summary |
|---|---|
| private Type resolveDateTimeArithmeticResultType(Type lhType, Type rhType) | |
| setScalarColumnText | back to summary |
|---|---|
| public void setScalarColumnText(int i) throws SemanticException Implements org. Doc from org. Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')
| |