Enum Continuation.Reason

java.lang.Object
java.lang.Enum<Continuation.Reason>
com.apple.foundationdb.relational.api.Continuation.Reason
All Implemented Interfaces:
Serializable, Comparable<Continuation.Reason>, java.lang.constant.Constable
Enclosing interface:
Continuation

public static enum Continuation.Reason extends Enum<Continuation.Reason>
Reason why the continuation was generated in the first place.
  • Enum Constant Details

    • USER_REQUESTED_CONTINUATION

      public static final Continuation.Reason USER_REQUESTED_CONTINUATION
      The continuation was generated as a result of a call to getContinuation but the ResultSet was not exhausted.
    • TRANSACTION_LIMIT_REACHED

      public static final Continuation.Reason TRANSACTION_LIMIT_REACHED
      Reached a transaction limit, such as byte scan limit, row scan limit or time limit.
    • QUERY_EXECUTION_LIMIT_REACHED

      public static final Continuation.Reason QUERY_EXECUTION_LIMIT_REACHED
      Reached a query execution limit, such as the maximum number of rows allowed in a result set.
    • CURSOR_AFTER_LAST

      public static final Continuation.Reason CURSOR_AFTER_LAST
      All rows were returned.
  • Method Details

    • values

      public static Continuation.Reason[] 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 Continuation.Reason 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