public enum StreamingMode extends Enum<StreamingMode>
| Enum Constant and Description |
|---|
BATCH_ONLY
This mode indicates that the system can run only batch tasks
|
STREAMING
This mode indicates the system can run streaming tasks, of which batch
tasks are a special case.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamingMode STREAMING
public static final StreamingMode BATCH_ONLY
public static StreamingMode[] values()
for (StreamingMode c : StreamingMode.values()) System.out.println(c);
public static StreamingMode 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–2015 The Apache Software Foundation. All rights reserved.