Enum Class ScanState

java.lang.Object
java.lang.Enum<ScanState>
org.apache.accumulo.core.client.admin.ScanState
All Implemented Interfaces:
Serializable, Comparable<ScanState>, Constable

public enum ScanState extends Enum<ScanState>
  • Enum Constant Details

    • IDLE

      public static final ScanState IDLE
      Indicates no work is currently queued or running to fetch the next batch of key/values for a scan. This could be because the server is waiting for a client to retrieve a batch of key/values its has already fetched and is buffering.
    • RUNNING

      public static final ScanState RUNNING
      Indicates a task is running in a server side thread pool to fetch the next batch of key/values for a scan.
    • QUEUED

      public static final ScanState QUEUED
      Indicates a task is queued in a server side thread pool to fetch the next bach of key/values for a scan.
  • Method Details

    • values

      public static ScanState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ScanState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null