public enum SamzaExecutionEnvironment extends java.lang.Enum<SamzaExecutionEnvironment>
| Enum Constant and Description |
|---|
LOCAL
Runs the Samza job on the local machine with only one container.
|
STANDALONE
Runs Samza job as a stand alone embedded library mode which can be imported into your Java
application.
|
YARN
Submits and runs the Samza job on YARN, a remote clustered resource manager.
|
| Modifier and Type | Method and Description |
|---|---|
static SamzaExecutionEnvironment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SamzaExecutionEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SamzaExecutionEnvironment LOCAL
public static final SamzaExecutionEnvironment YARN
public static final SamzaExecutionEnvironment STANDALONE
public static SamzaExecutionEnvironment[] values()
for (SamzaExecutionEnvironment c : SamzaExecutionEnvironment.values()) System.out.println(c);
public static SamzaExecutionEnvironment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null