Enum StoreOperation
- java.lang.Object
-
- java.lang.Enum<StoreOperation>
-
- io.streamthoughts.azkarra.api.query.StoreOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<StoreOperation>
public enum StoreOperation extends Enum<StoreOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
COUNT
FETCH
FETCH_ALL
FETCH_KEY_RANGE
FETCH_TIME_RANGE
GET
RANGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<StoreOperation>
parse(String operation)
String
prettyName()
static StoreOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static StoreOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
public static final StoreOperation GET
-
ALL
public static final StoreOperation ALL
-
FETCH
public static final StoreOperation FETCH
-
FETCH_KEY_RANGE
public static final StoreOperation FETCH_KEY_RANGE
-
FETCH_TIME_RANGE
public static final StoreOperation FETCH_TIME_RANGE
-
FETCH_ALL
public static final StoreOperation FETCH_ALL
-
RANGE
public static final StoreOperation RANGE
-
COUNT
public static final StoreOperation COUNT
-
-
Method Detail
-
values
public static StoreOperation[] 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 (StoreOperation c : StoreOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoreOperation 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
-
parse
public static Optional<StoreOperation> parse(String operation)
-
prettyName
public String prettyName()
-
-