类 BinaryArithmeticOperatorNode

    • 构造器详细资料

      • BinaryArithmeticOperatorNode

        public BinaryArithmeticOperatorNode()
    • 方法详细资料

      • initialize

        public void initialize()
                        throws antlr.SemanticException
        从接口复制的说明: OperatorNode
        Called by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.
        指定者:
        initialize 在接口中 OperatorNode
        抛出:
        antlr.SemanticException
      • getDataType

        public Type getDataType()
        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.
        指定者:
        getDataType 在接口中 OperatorNode
        指定者:
        getDataType 在接口中 SelectExpression
        覆盖:
        getDataType 在类中 SqlNode
        返回:
        The expression's data type.
      • setScalarColumnText

        public void setScalarColumnText​(int i)
                                 throws antlr.SemanticException
        从接口复制的说明: SelectExpression
        Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')
        指定者:
        setScalarColumnText 在接口中 SelectExpression
        参数:
        i - The index of the select expression in the projection list.
        抛出:
        antlr.SemanticException - if a semantic error occurs