public class ClickhouseFileSinkWriter extends Object implements SinkWriter<SeaTunnelRow,CKFileCommitInfo,ClickhouseSinkState>
SinkWriter.Context| 构造器和说明 |
|---|
ClickhouseFileSinkWriter(FileReaderOption readerOption,
SinkWriter.Context context) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
abortPrepare() |
void |
close() |
Optional<CKFileCommitInfo> |
prepareCommit() |
void |
write(SeaTunnelRow element) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplySchemaChange, snapshotStatepublic ClickhouseFileSinkWriter(FileReaderOption readerOption, SinkWriter.Context context)
public void write(SeaTunnelRow element) throws IOException
write 在接口中 SinkWriter<SeaTunnelRow,CKFileCommitInfo,ClickhouseSinkState>IOExceptionpublic Optional<CKFileCommitInfo> prepareCommit() throws IOException
public void abortPrepare()
public void close()
throws IOException
close 在接口中 SinkWriter<SeaTunnelRow,CKFileCommitInfo,ClickhouseSinkState>IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.