Package org.apache.accumulo.core.data
Enum Mutation.SERIALIZED_FORMAT
- java.lang.Object
-
- java.lang.Enum<Mutation.SERIALIZED_FORMAT>
-
- org.apache.accumulo.core.data.Mutation.SERIALIZED_FORMAT
-
- All Implemented Interfaces:
Serializable
,Comparable<Mutation.SERIALIZED_FORMAT>
- Enclosing class:
- Mutation
public static enum Mutation.SERIALIZED_FORMAT extends Enum<Mutation.SERIALIZED_FORMAT>
Formats available for serializing Mutations. The formats are described in a separate document.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mutation.SERIALIZED_FORMAT
valueOf(String name)
Returns the enum constant of this type with the specified name.static Mutation.SERIALIZED_FORMAT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERSION1
public static final Mutation.SERIALIZED_FORMAT VERSION1
-
VERSION2
public static final Mutation.SERIALIZED_FORMAT VERSION2
-
-
Method Detail
-
values
public static Mutation.SERIALIZED_FORMAT[] 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 (Mutation.SERIALIZED_FORMAT c : Mutation.SERIALIZED_FORMAT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Mutation.SERIALIZED_FORMAT 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 nameNullPointerException
- if the argument is null
-
-