public interface ReadableSource<T> extends Source<T>
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.| Modifier and Type | Method and Description |
|---|---|
ReadableData<T> |
asReadable() |
Iterable<T> |
read(org.apache.hadoop.conf.Configuration conf)
Returns an
Iterable that contains the contents of this source. |
configureSource, getConverter, getLastModifiedAt, getSize, getType, inputConfIterable<T> read(org.apache.hadoop.conf.Configuration conf) throws IOException
Iterable that contains the contents of this source.conf - The current Configuration instanceSource as an Iterable instanceIOExceptionReadableData<T> asReadable()
ReadableData instance containing the data referenced by this
ReadableSource.Copyright © 2015 The Apache Software Foundation. All Rights Reserved.