@Experimental @Internal public final class UdafImpl<InputT,AccumT,OutputT> extends java.lang.Object implements org.apache.calcite.schema.AggregateFunction, org.apache.calcite.schema.ImplementableAggFunction, java.io.Serializable
AggregateFunction to take a Combine.CombineFn as UDAF.| Modifier and Type | Method and Description |
|---|---|
Combine.CombineFn<InputT,AccumT,OutputT> |
getCombineFn() |
org.apache.calcite.adapter.enumerable.AggImplementor |
getImplementor(boolean windowContext) |
java.util.List<org.apache.calcite.schema.FunctionParameter> |
getParameters() |
org.apache.calcite.rel.type.RelDataType |
getReturnType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
public Combine.CombineFn<InputT,AccumT,OutputT> getCombineFn()
public java.util.List<org.apache.calcite.schema.FunctionParameter> getParameters()
getParameters in interface org.apache.calcite.schema.Functionpublic org.apache.calcite.adapter.enumerable.AggImplementor getImplementor(boolean windowContext)
getImplementor in interface org.apache.calcite.schema.ImplementableAggFunctionpublic org.apache.calcite.rel.type.RelDataType getReturnType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getReturnType in interface org.apache.calcite.schema.AggregateFunction