@PublicEvolving public static enum ResultSet.ResultType extends Enum<ResultSet.ResultType>
Enum Constant and Description |
---|
EOS
Indicate all results have been fetched.
|
NOT_READY
Indicate the result is not ready.
|
PAYLOAD
Indicate the result has data.
|
Modifier and Type | Method and Description |
---|---|
static ResultSet.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultSet.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultSet.ResultType NOT_READY
public static final ResultSet.ResultType PAYLOAD
public static final ResultSet.ResultType EOS
public static ResultSet.ResultType[] values()
for (ResultSet.ResultType c : ResultSet.ResultType.values()) System.out.println(c);
public static ResultSet.ResultType 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 © 2014–2024 The Apache Software Foundation. All rights reserved.