@PublicEvolving public interface SourceProvider extends ScanTableSource.ScanRuntimeProvider, ParallelismProvider
Source
instance as a runtime implementation for ScanTableSource
.
DataStreamScanProvider
in flink-table-api-java-bridge
is available for
advanced connector developers.
Modifier and Type | Method and Description |
---|---|
Source<RowData,?,?> |
createSource()
Creates a
Source 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.
|
isBounded
getParallelism
static SourceProvider of(Source<RowData,?,?> source)
static SourceProvider of(Source<RowData,?,?> source, @Nullable Integer sourceParallelism)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.