public interface RecordWriter extends java.io.Closeable, Configurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPEND |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the recod reader
|
void |
write(java.util.Collection<Writable> record)
Write a record
|
getConf, setConf
static final java.lang.String APPEND
void write(java.util.Collection<Writable> record) throws java.io.IOException
record
- the record to writejava.io.IOException
void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable