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