- Type Parameters:
GROUP_KEY - type of group key
GROUP_VAL - type of group val
OUT - type of output object
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.Function2<org.apache.spark.api.java.JavaPairRDD<GROUP_KEY,Iterable<GROUP_VAL>>,org.apache.spark.streaming.Time,org.apache.spark.api.java.JavaRDD<RecordInfo<Object>>>
public class DynamicAggregatorAggregate<GROUP_KEY,GROUP_VAL,OUT>
extends Object
implements org.apache.spark.api.java.function.Function2<org.apache.spark.api.java.JavaPairRDD<GROUP_KEY,Iterable<GROUP_VAL>>,org.apache.spark.streaming.Time,org.apache.spark.api.java.JavaRDD<RecordInfo<Object>>>
Serializable function that can be used to perform the aggregate part of an Aggregator. Dynamically instantiates
the Aggregator plugin used to ensure that code changes are picked up and to ensure that macro substitution occurs.
- See Also:
- Serialized Form