public class ScalarSqlFunction
extends org.apache.calcite.sql.SqlFunction
Constructor and Description |
---|
ScalarSqlFunction(String name,
ScalarFunction scalarFunction,
FlinkTypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
static org.apache.calcite.sql.type.SqlOperandTypeChecker |
createOperandTypeChecker(String name,
ScalarFunction scalarFunction) |
static org.apache.calcite.sql.type.SqlOperandTypeInference |
createOperandTypeInference(ScalarFunction scalarFunction,
FlinkTypeFactory typeFactory) |
static org.apache.calcite.sql.type.SqlReturnTypeInference |
createReturnTypeInference(String name,
ScalarFunction scalarFunction,
FlinkTypeFactory typeFactory) |
static scala.collection.Seq<TypeInformation<?>> |
getOperandTypeInfo(org.apache.calcite.sql.SqlCallBinding callBinding) |
ScalarFunction |
getScalarFunction() |
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifier
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isName, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
public ScalarSqlFunction(String name, ScalarFunction scalarFunction, FlinkTypeFactory typeFactory)
public static org.apache.calcite.sql.type.SqlReturnTypeInference createReturnTypeInference(String name, ScalarFunction scalarFunction, FlinkTypeFactory typeFactory)
public static org.apache.calcite.sql.type.SqlOperandTypeInference createOperandTypeInference(ScalarFunction scalarFunction, FlinkTypeFactory typeFactory)
public static org.apache.calcite.sql.type.SqlOperandTypeChecker createOperandTypeChecker(String name, ScalarFunction scalarFunction)
public static scala.collection.Seq<TypeInformation<?>> getOperandTypeInfo(org.apache.calcite.sql.SqlCallBinding callBinding)
public ScalarFunction getScalarFunction()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.