Class SummaryAggregatorFactory
- java.lang.Object
-
- org.apache.flink.api.java.summarize.aggregation.SummaryAggregatorFactory
-
@Internal public class SummaryAggregatorFactory extends Object
Factory for creating Summary Aggregators.
-
-
Constructor Summary
Constructors Constructor Description SummaryAggregatorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,R>
Aggregator<T,R>create(Class<T> type)Create a SummaryAggregator for the supplied type.static <R extends org.apache.flink.api.java.tuple.Tuple>
TupleSummaryAggregator<R>create(org.apache.flink.api.java.typeutils.TupleTypeInfoBase<?> inType)
-
-
-
Method Detail
-
create
public static <R extends org.apache.flink.api.java.tuple.Tuple> TupleSummaryAggregator<R> create(org.apache.flink.api.java.typeutils.TupleTypeInfoBase<?> inType)
-
create
public static <T,R> Aggregator<T,R> create(Class<T> type)
Create a SummaryAggregator for the supplied type.- Type Parameters:
T- the type to aggregateR- the result type of the aggregation
-
-