Enum Continuation.Reason
- All Implemented Interfaces:
Serializable
,Comparable<Continuation.Reason>
,java.lang.constant.Constable
- Enclosing interface:
- Continuation
Reason why the continuation was generated in the first place.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll rows were returned.Reached a query execution limit, such as the maximum number of rows allowed in a result set.Reached a transaction limit, such as byte scan limit, row scan limit or time limit.The continuation was generated as a result of a call to getContinuation but the ResultSet was not exhausted. -
Method Summary
Modifier and TypeMethodDescriptionstatic Continuation.Reason
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.
-
Enum Constant Details
-
USER_REQUESTED_CONTINUATION
The continuation was generated as a result of a call to getContinuation but the ResultSet was not exhausted. -
TRANSACTION_LIMIT_REACHED
Reached a transaction limit, such as byte scan limit, row scan limit or time limit. -
QUERY_EXECUTION_LIMIT_REACHED
Reached a query execution limit, such as the maximum number of rows allowed in a result set. -
CURSOR_AFTER_LAST
All rows were returned.
-
-
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
-