| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.io.network | |
| org.apache.flink.runtime.operators.shipping | |
| org.apache.flink.runtime.operators.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static DataExchangeMode |
DataExchangeMode.select(org.apache.flink.api.common.ExecutionMode executionMode,
ShipStrategyType shipStrategy,
boolean breakPipeline)
Computes the mode of data exchange to be used for a given execution mode and ship strategy.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ShipStrategyType |
ShipStrategyType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ShipStrategyType[] |
ShipStrategyType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
OutputEmitter(ShipStrategyType strategy,
int indexInSubtaskGroup)
Creates a new channel selector that uses the given strategy (broadcasting, partitioning, ...)
|
OutputEmitter(ShipStrategyType strategy,
int indexInSubtaskGroup,
org.apache.flink.api.common.typeutils.TypeComparator<T> comparator,
org.apache.flink.api.common.functions.Partitioner<?> partitioner,
org.apache.flink.api.common.distributions.DataDistribution distribution) |
OutputEmitter(ShipStrategyType strategy,
org.apache.flink.api.common.typeutils.TypeComparator<T> comparator)
Creates a new channel selector that uses the given strategy (broadcasting, partitioning, ...)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ShipStrategyType |
TaskConfig.getOutputShipStrategy(int outputNum) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TaskConfig.addOutputShipStrategy(ShipStrategyType strategy) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.