Package com.google.cloud.spanner
Enum AsyncResultSet.CursorState
- All Implemented Interfaces:
Serializable
,Comparable<AsyncResultSet.CursorState>
- Enclosing interface:
- AsyncResultSet
Response code from
tryNext()
.-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncResultSet.CursorState
Returns the enum constant of this type with the specified name.static AsyncResultSet.CursorState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OK
Cursor has been moved to a new row. -
DONE
Read is complete, all rows have been consumed, and there are no more. -
NOT_READY
No further information known at this time, thus current row not available.
-
-
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
-