Package de.caluga.morphium
Enum WriteAccessType
- java.lang.Object
-
- java.lang.Enum<WriteAccessType>
-
- de.caluga.morphium.WriteAccessType
-
- All Implemented Interfaces:
Serializable,Comparable<WriteAccessType>
public enum WriteAccessType extends Enum<WriteAccessType>
User: Stephan Bösebeck Date: 01.08.12 Time: 10:43 profiling write access types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BULK_DELETEBULK_INSERTBULK_UPDATEDROPENSURE_INDEXSINGLE_DELETESINGLE_INSERTSINGLE_UPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WriteAccessTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WriteAccessType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_DELETE
public static final WriteAccessType SINGLE_DELETE
-
BULK_DELETE
public static final WriteAccessType BULK_DELETE
-
SINGLE_INSERT
public static final WriteAccessType SINGLE_INSERT
-
SINGLE_UPDATE
public static final WriteAccessType SINGLE_UPDATE
-
BULK_UPDATE
public static final WriteAccessType BULK_UPDATE
-
BULK_INSERT
public static final WriteAccessType BULK_INSERT
-
DROP
public static final WriteAccessType DROP
-
ENSURE_INDEX
public static final WriteAccessType ENSURE_INDEX
-
-
Method Detail
-
values
public static WriteAccessType[] 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 (WriteAccessType c : WriteAccessType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WriteAccessType 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
-
-