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
  extended by 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

Constructor Summary
InputConverterFunction(Converter<K,V,S,?> converter)
           
 
Method Summary
 S call(scala.Tuple2<K,V> kv)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputConverterFunction

public InputConverterFunction(Converter<K,V,S,?> converter)
Method Detail

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.