Enum Continuation.Reason

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Continuation.Reason>
    Enclosing interface:
    Continuation

    public static enum Continuation.Reason
    extends java.lang.Enum<Continuation.Reason>
    Reason why the continuation was generated in the first place.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Continuation.Reason valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Continuation.Reason[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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 Detail

      • values

        public static Continuation.Reason[] 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 (Continuation.Reason c : Continuation.Reason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Continuation.Reason valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null