java.lang.AutoCloseable, java.io.CloseableDefaultInputDemuxerpublic interface InputDemuxer
extends java.io.Closeable
InputDemuxer dem-ultiplexes the input files into individual input
streams.| Modifier and Type | Method | Description |
|---|---|---|
void |
bindTo(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
Bind the
InputDemuxer to a particular file. |
org.apache.hadoop.tools.rumen.Pair<java.lang.String,java.io.InputStream> |
getNext() |
Get the next <name, input> pair.
|
void bindTo(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
InputDemuxer to a particular file.path - The path to the file it should bind to.conf - Configurationjava.io.IOException - 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<java.lang.String,java.io.InputStream> getNext()
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.