Class FlinkSqlCallBinding


  • public class FlinkSqlCallBinding
    extends org.apache.calcite.sql.SqlCallBinding
    Binding supports to rewrite the DEFAULT operator.
    • Field Summary

      • Fields inherited from class org.apache.calcite.sql.SqlOperatorBinding

        typeFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      FlinkSqlCallBinding​(org.apache.calcite.sql.validate.SqlValidator validator, @Nullable org.apache.calcite.sql.validate.SqlValidatorScope scope, org.apache.calcite.sql.SqlCall call)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOperandCount()  
      org.apache.calcite.rel.type.RelDataType getOperandType​(int ordinal)  
      boolean isFixedParameters()  
      List<org.apache.calcite.sql.SqlNode> operands()  
      • Methods inherited from class org.apache.calcite.sql.SqlCallBinding

        getCall, getColumnListParamInfo, getCursorOperand, getGroupCount, getIntLiteralOperand, getOperandLiteralValue, getOperandMonotonicity, getScope, getStringLiteralOperand, getValidator, isOperandLiteral, isOperandNull, isTypeCoercionEnabled, newError, newValidationError, newValidationSignatureError, operand, permutedCall
      • Methods inherited from class org.apache.calcite.sql.SqlOperatorBinding

        collectOperandTypes, getCollationType, getOperandLiteralValue, getOperandLiteralValue, getOperator, getTypeFactory, hasFilter, isOperandTimeFrame
    • Constructor Detail

      • FlinkSqlCallBinding

        public FlinkSqlCallBinding​(org.apache.calcite.sql.validate.SqlValidator validator,
                                   @Nullable org.apache.calcite.sql.validate.SqlValidatorScope scope,
                                   org.apache.calcite.sql.SqlCall call)
    • Method Detail

      • getOperandCount

        public int getOperandCount()
        Overrides:
        getOperandCount in class org.apache.calcite.sql.SqlCallBinding
      • operands

        public List<org.apache.calcite.sql.SqlNode> operands()
        Overrides:
        operands in class org.apache.calcite.sql.SqlCallBinding
      • getOperandType

        public org.apache.calcite.rel.type.RelDataType getOperandType​(int ordinal)
        Overrides:
        getOperandType in class org.apache.calcite.sql.SqlCallBinding
      • isFixedParameters

        public boolean isFixedParameters()