Package org.apache.accumulo.core.client
Enum ScannerBase.ConsistencyLevel
java.lang.Object
java.lang.Enum<ScannerBase.ConsistencyLevel>
org.apache.accumulo.core.client.ScannerBase.ConsistencyLevel
- All Implemented Interfaces:
Serializable
,Comparable<ScannerBase.ConsistencyLevel>
- Enclosing interface:
- ScannerBase
Consistency level for the scanner. The default level is IMMEDIATE, which means that this
scanner will see keys and values that have been successfully written to a TabletServer.
EVENTUAL means that the scanner may not see the latest data that was written to a TabletServer,
but may instead see an older version of data.
- Since:
- 2.1.0
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScannerBase.ConsistencyLevel
Returns the enum constant of this type with the specified name.static ScannerBase.ConsistencyLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IMMEDIATE
-
EVENTUAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-