Class BridgingSqlFunction.WithTableFunction

java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.flink.table.planner.functions.bridging.BridgingSqlFunction
org.apache.flink.table.planner.functions.bridging.BridgingSqlFunction.WithTableFunction
All Implemented Interfaces:
org.apache.calcite.sql.SqlTableFunction
Enclosing class:
BridgingSqlFunction

public static class BridgingSqlFunction.WithTableFunction extends BridgingSqlFunction implements org.apache.calcite.sql.SqlTableFunction
Special flavor of BridgingSqlFunction to indicate a table function to Calcite.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.flink.table.planner.functions.bridging.BridgingSqlFunction

    BridgingSqlFunction.WithTableFunction
  • Field Summary

    Fields inherited from class org.apache.flink.table.planner.functions.bridging.BridgingSqlFunction

    typeInference

    Fields inherited from class org.apache.calcite.sql.SqlOperator

    kind, MDX_PRECEDENCE, NL
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    argumentMustBeScalar(int ordinal)
     
    org.apache.calcite.sql.type.SqlReturnTypeInference
    The conversion to a row type is handled by the system type inference.
    @Nullable org.apache.calcite.sql.TableCharacteristic
    tableCharacteristic(int ordinal)
     

    Methods inherited from class org.apache.flink.table.planner.functions.bridging.BridgingSqlFunction

    getDataTypeFactory, getDefinition, getResolvedFunction, getRexFactory, getTypeFactory, getTypeInference, isDeterministic, of, of, of, of

    Methods inherited from class org.apache.calcite.sql.SqlFunction

    deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifier

    Methods inherited from class org.apache.calcite.sql.SqlOperator

    acceptCall, acceptCall, adjustType, allowsFraming, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getRowTypeInference

      public org.apache.calcite.sql.type.SqlReturnTypeInference getRowTypeInference()
      The conversion to a row type is handled by the system type inference.
      Specified by:
      getRowTypeInference in interface org.apache.calcite.sql.SqlTableFunction
      See Also:
    • tableCharacteristic

      public @Nullable org.apache.calcite.sql.TableCharacteristic tableCharacteristic(int ordinal)
      Specified by:
      tableCharacteristic in interface org.apache.calcite.sql.SqlTableFunction
    • argumentMustBeScalar

      public boolean argumentMustBeScalar(int ordinal)
      Overrides:
      argumentMustBeScalar in class org.apache.calcite.sql.SqlOperator