SourceFunction
API, which is due to be
removed. Use SourceProvider
instead.@Deprecated @PublicEvolving public interface SourceFunctionProvider extends ScanTableSource.ScanRuntimeProvider, ParallelismProvider
SourceFunction
instance as a runtime implementation for ScanTableSource
.Modifier and Type | Method and Description |
---|---|
SourceFunction<RowData> |
createSourceFunction()
Deprecated.
Creates a
SourceFunction instance. |
static SourceFunctionProvider |
of(SourceFunction<RowData> sourceFunction,
boolean isBounded)
Deprecated.
Helper method for creating a static provider.
|
static SourceFunctionProvider |
of(SourceFunction<RowData> sourceFunction,
boolean isBounded,
Integer sourceParallelism)
Deprecated.
Helper method for creating a Source provider with a provided source parallelism.
|
isBounded
getParallelism
static SourceFunctionProvider of(SourceFunction<RowData> sourceFunction, boolean isBounded)
static SourceFunctionProvider of(SourceFunction<RowData> sourceFunction, boolean isBounded, @Nullable Integer sourceParallelism)
SourceFunction<RowData> createSourceFunction()
SourceFunction
instance.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.