org.apache.blur.mapreduce.lib
Enum BlurMutate.MUTATE_TYPE
java.lang.Object
java.lang.Enum<BlurMutate.MUTATE_TYPE>
org.apache.blur.mapreduce.lib.BlurMutate.MUTATE_TYPE
- All Implemented Interfaces:
- Serializable, Comparable<BlurMutate.MUTATE_TYPE>
- Enclosing class:
- BlurMutate
public static enum BlurMutate.MUTATE_TYPE
- extends Enum<BlurMutate.MUTATE_TYPE>
The BlurMutate.MUTATE_TYPE
controls the mutating of the Row
. DELETE
indicates that the Row
is to be deleted. REPLACE indicates that the
group of mutates are to replace the existing Row
.
If both a DELETE and a REPLACE exist for a single Row
in the
BlurOutputFormat
then the Row
will be replaced not just
deleted.
DELETE
public static final BlurMutate.MUTATE_TYPE DELETE
REPLACE
public static final BlurMutate.MUTATE_TYPE REPLACE
values
public static BlurMutate.MUTATE_TYPE[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (BlurMutate.MUTATE_TYPE c : BlurMutate.MUTATE_TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BlurMutate.MUTATE_TYPE valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getValue
public int getValue()
find
public BlurMutate.MUTATE_TYPE find(int value)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.