Constructor and Description |
---|
DefaultOutputter() |
public void init(Path path, Configuration conf) throws IOException
Outputter
Outputter
to a specific path.init
in interface Outputter<T>
path
- The Path
to the output file.conf
- ConfigurationIOException
public void output(T object) throws IOException
Outputter
output
in interface Outputter<T>
object
- The objecte.IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.