This project has retired. For details please refer to its Attic page.
MaterializableIterable (Apache Crunch 0.3.0-incubating API)

org.apache.crunch.materialize
Class MaterializableIterable<E>

java.lang.Object
  extended by org.apache.crunch.materialize.MaterializableIterable<E>
All Implemented Interfaces:
Iterable<E>

public class MaterializableIterable<E>
extends Object
implements Iterable<E>


Constructor Summary
MaterializableIterable(Pipeline pipeline, ReadableSourceTarget<E> source)
           
 
Method Summary
 ReadableSourceTarget<E> getSourceTarget()
           
 Iterator<E> iterator()
           
 void materialize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaterializableIterable

public MaterializableIterable(Pipeline pipeline,
                              ReadableSourceTarget<E> source)
Method Detail

getSourceTarget

public ReadableSourceTarget<E> getSourceTarget()

iterator

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

materialize

public void materialize()


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