|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReadableSource<T>
An extension of the Source interface that indicates that a
Source instance may be read as a series of records by the client
code. This is used to determine whether a PCollection instance can be
materialized.
| Method Summary | |
|---|---|
Iterable<T> |
read(org.apache.hadoop.conf.Configuration conf)
Returns an Iterable that contains the contents of this source. |
| Methods inherited from interface org.apache.crunch.Source |
|---|
configureSource, getSize, getType |
| Method Detail |
|---|
Iterable<T> read(org.apache.hadoop.conf.Configuration conf)
throws IOException
Iterable that contains the contents of this source.
conf - The current Configuration instance
Source as an Iterable instance
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||