@Internal public enum StreamExchangeMode extends Enum<StreamExchangeMode>
StreamGraph generation.| 枚举常量和说明 |
|---|
BATCH
The producer first produces its entire result and finishes.
|
HYBRID_FULL
The consumer can start consuming data anytime as long as the producer has started producing.
|
HYBRID_SELECTIVE
The consumer can start consuming data anytime as long as the producer has started producing.
|
PIPELINED
Producer and consumer are online at the same time.
|
UNDEFINED
The exchange mode is undefined.
|
public static final StreamExchangeMode PIPELINED
public static final StreamExchangeMode BATCH
public static final StreamExchangeMode HYBRID_FULL
This exchange mode can be consumed repeatedly.
public static final StreamExchangeMode HYBRID_SELECTIVE
This exchange mode can not be consumed repeatedly.
public static final StreamExchangeMode UNDEFINED
public static StreamExchangeMode[] values()
for (StreamExchangeMode c : StreamExchangeMode.values()) System.out.println(c);
public static StreamExchangeMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.