public interface InputDemuxer extends Closeable
InputDemuxer dem-ultiplexes the input files into individual input
streams.| Modifier and Type | Method and Description |
|---|---|
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 <name, input> pair.
|
void bindTo(Path path, Configuration conf) throws IOException
InputDemuxer to a particular file.path - The path to the file 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 © 2018 CERN. All Rights Reserved.