public class MatlabRecordWriter extends FileRecordWriter
conf, DEFAULT_CHARSET, encoding, NEW_LINE, out, PATH, writeToAPPEND| Constructor and Description |
|---|
MatlabRecordWriter() |
MatlabRecordWriter(Configuration conf) |
MatlabRecordWriter(File path) |
MatlabRecordWriter(File path,
boolean append) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(List<Writable> record)
Write a record
|
close, getConf, setConfpublic MatlabRecordWriter()
public MatlabRecordWriter(File path) throws FileNotFoundException
FileNotFoundExceptionpublic MatlabRecordWriter(File path, boolean append) throws FileNotFoundException
FileNotFoundExceptionpublic MatlabRecordWriter(Configuration conf) throws FileNotFoundException
FileNotFoundExceptionpublic void write(List<Writable> record) throws IOException
RecordWriterwrite in interface RecordWriterwrite in class FileRecordWriterrecord - the record to writeIOExceptionCopyright © 2017. All rights reserved.