public interface Outputter<T> extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Initialize the
Outputter to a specific path. |
void |
output(T object)
Output an object.
|
void init(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
throws IOException
Outputter to a specific path.path - The Path to the output file.conf - ConfigurationIOExceptionvoid output(T object) throws IOException
object - The objecte.IOExceptionCopyright © 2008–2020 Apache Software Foundation. All rights reserved.