This project has retired. For details please refer to its
Attic page.
ReduceInputFunction (Apache Crunch 0.11.0 API)
org.apache.crunch.impl.spark.fn
Class ReduceInputFunction<K,V>
java.lang.Object
org.apache.crunch.impl.spark.fn.ReduceInputFunction<K,V>
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.Function<scala.Tuple2<ByteArray,Iterable<byte[]>>,Pair<K,Iterable<V>>>
public class ReduceInputFunction<K,V>
- extends Object
- implements org.apache.spark.api.java.function.Function<scala.Tuple2<ByteArray,Iterable<byte[]>>,Pair<K,Iterable<V>>>
- See Also:
- Serialized Form
ReduceInputFunction
public ReduceInputFunction(SerDe<K> keySerDe,
SerDe<V> valueSerDe)
call
public Pair<K,Iterable<V>> call(scala.Tuple2<ByteArray,Iterable<byte[]>> kv)
throws Exception
- Specified by:
call
in interface org.apache.spark.api.java.function.Function<scala.Tuple2<ByteArray,Iterable<byte[]>>,Pair<K,Iterable<V>>>
- Throws:
Exception
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.