public static enum QueryState.StateType extends Enum<QueryState.StateType>
Modifier and Type | Method and Description |
---|---|
static QueryState.StateType |
fromProto(org.apache.calcite.avatica.proto.Common.StateType protoType) |
org.apache.calcite.avatica.proto.Common.StateType |
toProto() |
static QueryState.StateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryState.StateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryState.StateType SQL
public static final QueryState.StateType METADATA
public static QueryState.StateType[] values()
for (QueryState.StateType c : QueryState.StateType.values()) System.out.println(c);
public static QueryState.StateType 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 nullpublic org.apache.calcite.avatica.proto.Common.StateType toProto()
public static QueryState.StateType fromProto(org.apache.calcite.avatica.proto.Common.StateType protoType)
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.