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

public static enum ScannerBase.ConsistencyLevel extends Enum<ScannerBase.ConsistencyLevel>
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 Details

  • Method Details

    • values

      public static ScannerBase.ConsistencyLevel[] 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

      public static ScannerBase.ConsistencyLevel 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 name
      NullPointerException - if the argument is null