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

org.apache.crunch.impl.spark.fn
Class CrunchIterable<S,T>

java.lang.Object
  extended by org.apache.crunch.impl.spark.fn.CrunchIterable<S,T>
All Implemented Interfaces:
Iterable<T>

public class CrunchIterable<S,T>
extends Object
implements Iterable<T>


Constructor Summary
CrunchIterable(DoFn<S,T> fn, Iterator<S> input)
           
 
Method Summary
 Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrunchIterable

public CrunchIterable(DoFn<S,T> fn,
                      Iterator<S> input)
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>


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