public enum TaskType extends Enum<TaskType> implements GenericEnumSymbol<TaskType>
Modifier and Type | Method and Description |
---|---|
static Schema |
getClassSchema() |
Schema |
getSchema()
The schema of this instance.
|
static TaskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, toString, wait, wait, wait
toString
compareTo
public static final TaskType MAP
public static final TaskType REDUCE
public static final Schema SCHEMA$
public static TaskType[] values()
for (TaskType c : TaskType.values()) System.out.println(c);
public static TaskType 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 Schema getClassSchema()
public Schema getSchema()
GenericContainer
getSchema
in interface GenericContainer
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.