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

org.apache.crunch.io
Class CompositePathIterable<T>

java.lang.Object
  extended by org.apache.crunch.io.CompositePathIterable<T>
All Implemented Interfaces:
Iterable<T>

public class CompositePathIterable<T>
extends Object
implements Iterable<T>


Method Summary
static
<S> Iterable<S>
create(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, FileReaderFactory<S> readerFactory)
           
 Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <S> Iterable<S> create(org.apache.hadoop.fs.FileSystem fs,
                                     org.apache.hadoop.fs.Path path,
                                     FileReaderFactory<S> readerFactory)
                          throws IOException
Throws:
IOException

iterator

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


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