| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.graph | |
| org.apache.flink.streaming.api.transformations |
| 限定符和类型 | 方法和说明 |
|---|---|
ShuffleMode |
StreamEdge.getShuffleMode() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StreamGraph.addVirtualPartitionNode(Integer originalId,
Integer virtualId,
StreamPartitioner<?> partitioner,
ShuffleMode shuffleMode)
Adds a new virtual node that is used to connect a downstream vertex to an input with a
certain partitioning.
|
| 构造器和说明 |
|---|
StreamEdge(StreamNode sourceVertex,
StreamNode targetVertex,
int typeNumber,
List<String> selectedNames,
StreamPartitioner<?> outputPartitioner,
org.apache.flink.util.OutputTag outputTag,
ShuffleMode shuffleMode) |
StreamEdge(StreamNode sourceVertex,
StreamNode targetVertex,
int typeNumber,
long bufferTimeout,
List<String> selectedNames,
StreamPartitioner<?> outputPartitioner,
org.apache.flink.util.OutputTag outputTag,
ShuffleMode shuffleMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
ShuffleMode |
PartitionTransformation.getShuffleMode()
Returns the
ShuffleMode of this PartitionTransformation. |
static ShuffleMode |
ShuffleMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ShuffleMode[] |
ShuffleMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
PartitionTransformation(org.apache.flink.api.dag.Transformation<T> input,
StreamPartitioner<T> partitioner,
ShuffleMode shuffleMode)
Creates a new
PartitionTransformation from the given input and
StreamPartitioner. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.