| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.graph | |
| org.apache.flink.streaming.api.transformations |
| 限定符和类型 | 方法和说明 |
|---|---|
<IN,OUT> void |
StreamGraph.addSource(Integer vertexID,
String slotSharingGroup,
String coLocationGroup,
SourceOperatorFactory<OUT> operatorFactory,
org.apache.flink.api.common.typeinfo.TypeInformation<IN> inTypeInfo,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo,
String operatorName) |
| 限定符和类型 | 方法和说明 |
|---|---|
SourceOperatorFactory<OUT> |
SourceTransformation.getOperatorFactory()
Returns the
StreamOperatorFactory of this LegacySourceTransformation. |
| 构造器和说明 |
|---|
SourceTransformation(String name,
SourceOperatorFactory<OUT> sourceFactory,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType,
int parallelism)
Creates a new
Transformation with the given name, output type and parallelism. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.