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