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 © 2019 Alibaba Cloud Computing. All rights reserved.