Class UdafImpl<InputT,AccumT,OutputT>
- java.lang.Object
-
- org.apache.beam.sdk.extensions.sql.impl.UdafImpl<InputT,AccumT,OutputT>
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.AggregateFunction,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.ImplementableAggFunction
@Internal public class UdafImpl<InputT,AccumT,OutputT> extends java.lang.Object implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.AggregateFunction, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.ImplementableAggFunction, java.io.SerializableImplementAggregateFunctionto take aCombine.CombineFnas UDAF.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.transforms.Combine.CombineFn<InputT,AccumT,OutputT>getCombineFn()org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.adapter.enumerable.AggImplementorgetImplementor(boolean windowContext)protected java.lang.reflect.TypegetInputType()protected java.lang.reflect.TypegetOutputType()java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.FunctionParameter>getParameters()org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypegetReturnType(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
-
-
-
Method Detail
-
getCombineFn
public org.apache.beam.sdk.transforms.Combine.CombineFn<InputT,AccumT,OutputT> getCombineFn()
-
getParameters
public java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.FunctionParameter> getParameters()
- Specified by:
getParametersin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function
-
getImplementor
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.adapter.enumerable.AggImplementor getImplementor(boolean windowContext)
- Specified by:
getImplementorin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.ImplementableAggFunction
-
getReturnType
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataType getReturnType(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
- Specified by:
getReturnTypein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.AggregateFunction
-
getInputType
protected java.lang.reflect.Type getInputType()
-
getOutputType
protected java.lang.reflect.Type getOutputType()
-
-