|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Outputter<T>
Interface to output a sequence of objects of type T.
Method Summary | |
---|---|
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. |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
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
- Configuration
IOException
void output(T object) throws IOException
object
- The objecte.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |