public enum ApiActivityType extends Enum<ApiActivityType>
Enum Constant and Description |
---|
HIVE
The corresponding activity a Hive job
|
MR
The corresponding activity is a Map-Reduce job
|
OOZIE
The corresponding activity is an Oozie workflow
|
PIG
The corresponding activity is a Pig job
|
STREAMING
The corresponding activity is a Hadoop streaming job
|
UNKNOWN
The activity type is unknown
|
Modifier and Type | Method and Description |
---|---|
static ApiActivityType |
fromString(String str) |
static ApiActivityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiActivityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiActivityType UNKNOWN
public static final ApiActivityType OOZIE
public static final ApiActivityType PIG
public static final ApiActivityType HIVE
public static final ApiActivityType MR
public static final ApiActivityType STREAMING
public static ApiActivityType[] values()
for (ApiActivityType c : ApiActivityType.values()) System.out.println(c);
public static ApiActivityType 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 nullpublic static ApiActivityType fromString(String str)
str
- String representation of an activity type.
Note that UNKNOWN is not a valid input.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.