public enum DataExchangeMode extends Enum<DataExchangeMode>
| 枚举常量和说明 |
|---|
BATCH
The data exchange is decoupled.
|
PIPELINE_WITH_BATCH_FALLBACK
|
PIPELINED
The data exchange is streamed, sender and receiver are online at the same time, and the
receiver back-pressures the sender.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DataExchangeMode |
getForForwardExchange(org.apache.flink.api.common.ExecutionMode mode) |
static DataExchangeMode |
getForShuffleOrBroadcast(org.apache.flink.api.common.ExecutionMode mode) |
static DataExchangeMode |
getPipelineBreakingExchange(org.apache.flink.api.common.ExecutionMode mode) |
static 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 DataExchangeMode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DataExchangeMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DataExchangeMode PIPELINED
public static final DataExchangeMode BATCH
public static final DataExchangeMode PIPELINE_WITH_BATCH_FALLBACK
public static DataExchangeMode[] values()
for (DataExchangeMode c : DataExchangeMode.values()) System.out.println(c);
public static DataExchangeMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static DataExchangeMode getForForwardExchange(org.apache.flink.api.common.ExecutionMode mode)
public static DataExchangeMode getForShuffleOrBroadcast(org.apache.flink.api.common.ExecutionMode mode)
public static DataExchangeMode getPipelineBreakingExchange(org.apache.flink.api.common.ExecutionMode mode)
public static DataExchangeMode select(org.apache.flink.api.common.ExecutionMode executionMode, ShipStrategyType shipStrategy, boolean breakPipeline)
getPipelineBreakingExchange(org.apache.flink.api.common.ExecutionMode).
getForForwardExchange(org.apache.flink.api.common.ExecutionMode).
getForShuffleOrBroadcast(org.apache.flink.api.common.ExecutionMode).
shipStrategy - The ship strategy (FORWARD, PARTITION, BROADCAST, ...) of the runtime
data exchange.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.