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.Iterable<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
instanceIOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.