Serializable
, Comparable<MapReduceCommand.OutputType>
public static enum MapReduceCommand.OutputType extends Enum<MapReduceCommand.OutputType>
Enum Constant | Description |
---|---|
INLINE |
Return results inline, no result is written to the DB server
|
MERGE |
Merge the job output with the existing contents of outputTarget collection
|
REDUCE |
Reduce the job output with the existing contents of outputTarget collection
|
REPLACE |
Save the job output to a collection, replacing its previous content
|
Modifier and Type | Method | Description |
---|---|---|
static MapReduceCommand.OutputType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MapReduceCommand.OutputType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapReduceCommand.OutputType REPLACE
public static final MapReduceCommand.OutputType MERGE
public static final MapReduceCommand.OutputType REDUCE
public static final MapReduceCommand.OutputType INLINE
public static MapReduceCommand.OutputType[] values()
for (MapReduceCommand.OutputType c : MapReduceCommand.OutputType.values()) System.out.println(c);
public static MapReduceCommand.OutputType 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 null