Class FlinkSqlCallBinding

java.lang.Object
org.apache.calcite.sql.SqlOperatorBinding
org.apache.calcite.sql.SqlCallBinding
org.apache.flink.table.planner.calcite.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

    Modifier and Type
    Method
    Description
    int
     
    org.apache.calcite.rel.type.RelDataType
    getOperandType(int ordinal)
     
    boolean
     
    List<org.apache.calcite.sql.SqlNode>
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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()