This project has retired. For details please refer to its
Attic page.
InputConverterFunction (Apache Crunch 0.11.0 API)
org.apache.crunch.impl.spark.fn
Class InputConverterFunction<K,V,S>
java.lang.Object
org.apache.crunch.impl.spark.fn.InputConverterFunction<K,V,S>
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.Function<scala.Tuple2<K,V>,S>
public class InputConverterFunction<K,V,S>
- extends Object
- implements org.apache.spark.api.java.function.Function<scala.Tuple2<K,V>,S>
- See Also:
- Serialized Form
Method Summary |
S |
call(scala.Tuple2<K,V> kv)
|
InputConverterFunction
public InputConverterFunction(Converter<K,V,S,?> converter)
call
public S call(scala.Tuple2<K,V> kv)
throws Exception
- Specified by:
call
in interface org.apache.spark.api.java.function.Function<scala.Tuple2<K,V>,S>
- Throws:
Exception
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.