public static enum AsyncResultSet.CursorState extends Enum<AsyncResultSet.CursorState>
tryNext()
.Enum Constant and Description |
---|
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.
|
OK
Cursor has been moved to a new row.
|
Modifier and Type | Method and Description |
---|---|
static AsyncResultSet.CursorState |
valueOf(String name)
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.
|
public static final AsyncResultSet.CursorState OK
public static final AsyncResultSet.CursorState DONE
public static final AsyncResultSet.CursorState NOT_READY
public static AsyncResultSet.CursorState[] values()
for (AsyncResultSet.CursorState c : AsyncResultSet.CursorState.values()) System.out.println(c);
public static AsyncResultSet.CursorState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 Google LLC. All rights reserved.