public interface InputDemuxer extends Closeable
InputDemuxer dem-ultiplexes the input files into individual input
streams.| 限定符和类型 | 方法和说明 |
|---|---|
void |
bindTo(Path path,
Configuration conf)
Bind the
InputDemuxer to a particular file. |
org.apache.hadoop.tools.rumen.Pair<String,InputStream> |
getNext()
Get the next
|
void bindTo(Path path, Configuration conf) throws IOException
InputDemuxer to a particular file.path - The path to the find it should bind to.conf - ConfigurationIOException - Returns true when the binding succeeds. If the file can be read
but is in the wrong format, returns false. IOException is
reserved for read errors.org.apache.hadoop.tools.rumen.Pair<String,InputStream> getNext() throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation