Interface SourceProvider
-
- All Superinterfaces:
ParallelismProvider
,ScanTableSource.ScanRuntimeProvider
@PublicEvolving public interface SourceProvider extends ScanTableSource.ScanRuntimeProvider, ParallelismProvider
Provider of aSource
instance as a runtime implementation forScanTableSource
.DataStreamScanProvider
inflink-table-api-java-bridge
is available for advanced connector developers.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Source<RowData,?,?>
createSource()
Creates aSource
instance.static SourceProvider
of(Source<RowData,?,?> source)
Helper method for creating a static provider.static SourceProvider
of(Source<RowData,?,?> source, Integer sourceParallelism)
Helper method for creating a Source provider with a provided source parallelism.-
Methods inherited from interface org.apache.flink.table.connector.ParallelismProvider
getParallelism
-
Methods inherited from interface org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider
isBounded
-
-
-
-
Method Detail
-
of
static SourceProvider of(Source<RowData,?,?> source)
Helper method for creating a static provider.
-
of
static SourceProvider of(Source<RowData,?,?> source, @Nullable Integer sourceParallelism)
Helper method for creating a Source provider with a provided source parallelism.
-
-