@PublicEvolving public interface SinkV2Provider extends DynamicTableSink.SinkRuntimeProvider, ParallelismProvider
Sink
instance as a runtime implementation for DynamicTableSink
.
DataStreamSinkProvider
in flink-table-api-java-bridge
is available for
advanced connector developers.
Modifier and Type | Method and Description |
---|---|
Sink<RowData> |
createSink() |
static SinkV2Provider |
of(Sink<RowData> sink)
Helper method for creating a static provider.
|
static SinkV2Provider |
of(Sink<RowData> sink,
Integer sinkParallelism)
Helper method for creating a Sink provider with a provided sink parallelism.
|
getParallelism
static SinkV2Provider of(Sink<RowData> sink)
static SinkV2Provider of(Sink<RowData> sink, @Nullable Integer sinkParallelism)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.