public enum GlobalDataExchangeMode extends Enum<GlobalDataExchangeMode>
ResultPartitionType
of job edges. Note that this only
affects job edges which are ShuffleMode.UNDEFINED
.枚举常量和说明 |
---|
ALL_EDGES_BLOCKING
Set all job edges to be
ResultPartitionType.BLOCKING . |
ALL_EDGES_PIPELINED
Set all job edges
ResultPartitionType.PIPELINED_BOUNDED . |
ALL_EDGES_PIPELINED_APPROXIMATE
Set all job edges
ResultPartitionType.PIPELINED_APPROXIMATE . |
FORWARD_EDGES_PIPELINED
Set job edges with
ForwardPartitioner to be ResultPartitionType.PIPELINED_BOUNDED and other edges to be ResultPartitionType.BLOCKING . |
POINTWISE_EDGES_PIPELINED
Set job edges with
ForwardPartitioner or RescalePartitioner to be ResultPartitionType.PIPELINED_BOUNDED and other edges to be ResultPartitionType.BLOCKING . |
public static final GlobalDataExchangeMode ALL_EDGES_BLOCKING
ResultPartitionType.BLOCKING
.public static final GlobalDataExchangeMode FORWARD_EDGES_PIPELINED
ForwardPartitioner
to be ResultPartitionType.PIPELINED_BOUNDED
and other edges to be ResultPartitionType.BLOCKING
.public static final GlobalDataExchangeMode POINTWISE_EDGES_PIPELINED
ForwardPartitioner
or RescalePartitioner
to be ResultPartitionType.PIPELINED_BOUNDED
and other edges to be ResultPartitionType.BLOCKING
.public static final GlobalDataExchangeMode ALL_EDGES_PIPELINED
ResultPartitionType.PIPELINED_BOUNDED
.public static final GlobalDataExchangeMode ALL_EDGES_PIPELINED_APPROXIMATE
ResultPartitionType.PIPELINED_APPROXIMATE
.public static GlobalDataExchangeMode[] values()
for (GlobalDataExchangeMode c : GlobalDataExchangeMode.values()) System.out.println(c);
public static GlobalDataExchangeMode valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.