java.lang.AutoCloseable, java.io.CloseableDefaultOutputterpublic interface Outputter<T>
extends java.io.Closeable
| Modifier and Type | Method | 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 java.io.IOException
Outputter to a specific path.path - The Path to the output file.conf - Configurationjava.io.IOExceptionvoid output(T object) throws java.io.IOException
object - The objecte.java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.