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

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

java.lang.Object
  extended by org.apache.crunch.impl.spark.fn.CrunchPairTuple2<K,V>
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<Pair<K,V>>,K,V>

public class CrunchPairTuple2<K,V>
extends Object
implements org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<Pair<K,V>>,K,V>

See Also:
Serialized Form

Constructor Summary
CrunchPairTuple2()
           
 
Method Summary
 Iterable<scala.Tuple2<K,V>> call(Iterator<Pair<K,V>> iterator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrunchPairTuple2

public CrunchPairTuple2()
Method Detail

call

public Iterable<scala.Tuple2<K,V>> call(Iterator<Pair<K,V>> iterator)
                                 throws Exception
Specified by:
call in interface org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<Pair<K,V>>,K,V>
Throws:
Exception


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