@Internal public enum StreamExchangeMode extends Enum<StreamExchangeMode>
StreamGraph
generation.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static StreamExchangeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamExchangeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamExchangeMode PIPELINED
public static final StreamExchangeMode BATCH
public static final StreamExchangeMode HYBRID_FULL
This exchange mode is re-consumable.
public static final StreamExchangeMode HYBRID_SELECTIVE
This exchange mode is not re-consumable.
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
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.