This project has retired. For details please refer to its Attic page.
OutputConverterFunction (Apache Crunch 0.11.0 API)

org.apache.crunch.impl.spark.fn
Class OutputConverterFunction<K,V,S>

java.lang.Object
  extended by org.apache.crunch.impl.spark.fn.OutputConverterFunction<K,V,S>
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.PairFunction<S,K,V>

public class OutputConverterFunction<K,V,S>
extends Object
implements org.apache.spark.api.java.function.PairFunction<S,K,V>

See Also:
Serialized Form

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

Constructor Detail

OutputConverterFunction

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

call

public scala.Tuple2<K,V> call(S s)
                       throws Exception
Specified by:
call in interface org.apache.spark.api.java.function.PairFunction<S,K,V>
Throws:
Exception


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.