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
typeInferenceFields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL -
Method Summary
Modifier and TypeMethodDescriptionbooleanargumentMustBeScalar(int ordinal) org.apache.calcite.sql.type.SqlReturnTypeInferenceThe conversion to a row type is handled by the system type inference.@Nullable org.apache.calcite.sql.TableCharacteristictableCharacteristic(int ordinal) Methods inherited from class org.apache.flink.table.planner.functions.bridging.BridgingSqlFunction
getDataTypeFactory, getDefinition, getResolvedFunction, getRexFactory, getTypeFactory, getTypeInference, isDeterministic, of, of, of, ofMethods inherited from class org.apache.calcite.sql.SqlFunction
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifierMethods 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
-
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:
getRowTypeInferencein interfaceorg.apache.calcite.sql.SqlTableFunction- See Also:
-
tableCharacteristic
public @Nullable org.apache.calcite.sql.TableCharacteristic tableCharacteristic(int ordinal) - Specified by:
tableCharacteristicin interfaceorg.apache.calcite.sql.SqlTableFunction
-
argumentMustBeScalar
public boolean argumentMustBeScalar(int ordinal) - Overrides:
argumentMustBeScalarin classorg.apache.calcite.sql.SqlOperator
-