@AutoService(value=org.apache.seatunnel.api.sink.SeaTunnelSink.class) public class ClickhouseSink extends Object implements SeaTunnelSink<SeaTunnelRow,ClickhouseSinkState,CKCommitInfo,CKAggCommitInfo>
| 构造器和说明 |
|---|
ClickhouseSink() |
| 限定符和类型 | 方法和说明 |
|---|---|
SinkWriter<SeaTunnelRow,CKCommitInfo,ClickhouseSinkState> |
createWriter(SinkWriter.Context context) |
String |
getPluginName() |
Optional<Serializer<ClickhouseSinkState>> |
getWriterStateSerializer() |
void |
prepare(org.apache.seatunnel.shade.com.typesafe.config.Config config) |
SinkWriter<SeaTunnelRow,CKCommitInfo,ClickhouseSinkState> |
restoreWriter(SinkWriter.Context context,
List<ClickhouseSinkState> states) |
void |
setTypeInfo(SeaTunnelRowType seaTunnelRowType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAggregatedCommitter, createCommitter, getAggregatedCommitInfoSerializer, getCommitInfoSerializer, getConsumedTypesetJobContextpublic String getPluginName()
getPluginName 在接口中 PluginIdentifierInterfacepublic void prepare(org.apache.seatunnel.shade.com.typesafe.config.Config config)
throws PrepareFailException
prepare 在接口中 SeaTunnelPluginLifeCyclePrepareFailExceptionpublic SinkWriter<SeaTunnelRow,CKCommitInfo,ClickhouseSinkState> createWriter(SinkWriter.Context context) throws IOException
public SinkWriter<SeaTunnelRow,CKCommitInfo,ClickhouseSinkState> restoreWriter(SinkWriter.Context context, List<ClickhouseSinkState> states) throws IOException
public Optional<Serializer<ClickhouseSinkState>> getWriterStateSerializer()
public void setTypeInfo(SeaTunnelRowType seaTunnelRowType)
Copyright © 2024 The Apache Software Foundation. All rights reserved.