public interface Outputter<T> extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
init(Path path,
Configuration conf)
Initialize the
Outputter to a specific path. |
void |
output(T object)
Output an object.
|
void init(Path path, 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 © 2018 CERN. All Rights Reserved.