public interface RecordWriter extends Closeable
RecordWriter
用来写入一条记录Modifier and Type | Method and Description |
---|---|
void |
write(Record r)
写入一条记录
|
void write(Record r) throws IOException
r
- Record
对象IOException
- 写入过程发生异常,不可重试Copyright © 2020 Alibaba Cloud Computing. All rights reserved.