This project has retired. For details please refer to its
Attic page.
ReduceGroupingFunction (Apache Crunch 0.11.0 API)
org.apache.crunch.impl.spark.fn
Class ReduceGroupingFunction
java.lang.Object
org.apache.crunch.impl.spark.fn.ReduceGroupingFunction
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<ByteArray,List<byte[]>>>,ByteArray,List<byte[]>>
public class ReduceGroupingFunction
- extends Object
- implements org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<ByteArray,List<byte[]>>>,ByteArray,List<byte[]>>
- See Also:
- Serialized Form
ReduceGroupingFunction
public ReduceGroupingFunction(GroupingOptions options,
PGroupedTableType ptype,
SparkRuntimeContext ctxt)
call
public Iterable<scala.Tuple2<ByteArray,List<byte[]>>> call(Iterator<scala.Tuple2<ByteArray,List<byte[]>>> iter)
throws Exception
- Specified by:
call
in interface org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<ByteArray,List<byte[]>>>,ByteArray,List<byte[]>>
- Throws:
Exception
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.