| Package | Description |
|---|---|
| org.apache.flink.runtime.io.network | |
| org.apache.flink.runtime.operators.shipping | |
| org.apache.flink.runtime.operators.util |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static ShipStrategyType |
ShipStrategyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShipStrategyType[] |
ShipStrategyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
OutputEmitter(ShipStrategyType strategy,
int indexInSubtaskGroup)
Creates a new channel selector that uses the given strategy (broadcasting, partitioning, ...)
and uses the supplied task index perform a round robin distribution.
|
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, ...)
and uses the supplied comparator to hash / compare records for partitioning them
deterministically.
|
| Modifier and Type | Method and Description |
|---|---|
ShipStrategyType |
TaskConfig.getOutputShipStrategy(int outputNum) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskConfig.addOutputShipStrategy(ShipStrategyType strategy) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.