@Internal
public final class BridgingSqlAggFunction
extends org.apache.calcite.sql.SqlAggFunction
FunctionDefinition to Calcite's representation of an aggregating function (either
a system or user-defined function).| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.catalog.DataTypeFactory |
getDataTypeFactory() |
org.apache.flink.table.functions.FunctionDefinition |
getDefinition() |
Optional<org.apache.flink.table.functions.FunctionIdentifier> |
getIdentifier() |
List<String> |
getParamNames() |
List<org.apache.calcite.rel.type.RelDataType> |
getParamTypes() |
org.apache.flink.table.planner.calcite.FlinkTypeFactory |
getTypeFactory() |
org.apache.flink.table.types.inference.TypeInference |
getTypeInference() |
boolean |
isDeterministic() |
static BridgingSqlAggFunction |
of(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory,
org.apache.calcite.sql.SqlKind kind,
org.apache.flink.table.functions.FunctionIdentifier identifier,
org.apache.flink.table.functions.FunctionDefinition definition,
org.apache.flink.table.types.inference.TypeInference typeInference)
Creates an instance of a aggregating function (either a system or user-defined function).
|
allowsFilter, allowsNullTreatment, getDistinctOptionality, getParameterTypes, getReturnType, isAggregator, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCallderiveType, getFunctionType, getNameAsId, getSqlIdentifier, getSyntax, unparse, validateQuantifieracceptCall, 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, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandspublic static BridgingSqlAggFunction of(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory, org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory, org.apache.calcite.sql.SqlKind kind, org.apache.flink.table.functions.FunctionIdentifier identifier, org.apache.flink.table.functions.FunctionDefinition definition, org.apache.flink.table.types.inference.TypeInference typeInference)
dataTypeFactory - used for creating DataTypetypeFactory - used for bridging to RelDataTypekind - commonly used SQL standard function; use SqlKind.OTHER_FUNCTION if this
function cannot be mapped to a common function kind.identifier - catalog identifierdefinition - system or user-defined FunctionDefinitiontypeInference - type inference logicpublic org.apache.flink.table.catalog.DataTypeFactory getDataTypeFactory()
public org.apache.flink.table.planner.calcite.FlinkTypeFactory getTypeFactory()
public Optional<org.apache.flink.table.functions.FunctionIdentifier> getIdentifier()
public org.apache.flink.table.functions.FunctionDefinition getDefinition()
public org.apache.flink.table.types.inference.TypeInference getTypeInference()
public List<org.apache.calcite.rel.type.RelDataType> getParamTypes()
getParamTypes in class org.apache.calcite.sql.SqlFunctionpublic List<String> getParamNames()
getParamNames in class org.apache.calcite.sql.SqlFunctionpublic boolean isDeterministic()
isDeterministic in class org.apache.calcite.sql.SqlOperatorCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.