@Internal public enum ElementOrder extends Enum<ElementOrder>
FIRST_STATE_ORDER
from average users.Enum Constant and Description |
---|
FIRST_STATE_ORDER
The
processElement call will be invoked on record arrival, but may be blocked at the
first state accessing if there is a preceding same-key record under processing. |
RECORD_ORDER
Treat the record processing as a whole, meaning that any
processElement call for the
elements with same key should follow the order of record arrival AND no parallel run is
allowed. |
Modifier and Type | Method and Description |
---|---|
static ElementOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementOrder RECORD_ORDER
processElement
call for the
elements with same key should follow the order of record arrival AND no parallel run is
allowed.public static final ElementOrder FIRST_STATE_ORDER
processElement
call will be invoked on record arrival, but may be blocked at the
first state accessing if there is a preceding same-key record under processing.public static ElementOrder[] values()
for (ElementOrder c : ElementOrder.values()) System.out.println(c);
public static ElementOrder 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.