Package com.oracle.bmc.nosql.requests
Enum GetRowRequest.Consistency
- java.lang.Object
-
- java.lang.Enum<GetRowRequest.Consistency>
-
- com.oracle.bmc.nosql.requests.GetRowRequest.Consistency
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GetRowRequest.Consistency>
- Enclosing class:
- GetRowRequest
public static enum GetRowRequest.Consistency extends Enum<GetRowRequest.Consistency> implements BmcEnum
Consistency requirement for a read operation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRowRequest.Consistency
create(String key)
String
getValue()
static GetRowRequest.Consistency
valueOf(String name)
Returns the enum constant of this type with the specified name.static GetRowRequest.Consistency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Eventual
public static final GetRowRequest.Consistency Eventual
-
Absolute
public static final GetRowRequest.Consistency Absolute
-
-
Method Detail
-
values
public static GetRowRequest.Consistency[] 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 (GetRowRequest.Consistency c : GetRowRequest.Consistency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetRowRequest.Consistency 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
-
create
public static GetRowRequest.Consistency create(String key)
-
-