This project has retired. For details please refer to its Attic page.
MaterializableIterable (Apache Crunch 0.8.2 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, ReadableSource<E> source)
           
 
Method Summary
 org.apache.hadoop.fs.Path getPath()
           
 ReadableSource<E> getSource()
           
 boolean isSourceTarget()
           
 Iterator<E> iterator()
           
 void materialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaterializableIterable

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

getSource

public ReadableSource<E> getSource()

isSourceTarget

public boolean isSourceTarget()

getPath

public org.apache.hadoop.fs.Path getPath()

iterator

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

materialize

public void materialize()


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