public enum ServerMethod extends Enum<ServerMethod>
| Enum Constant and Description |
|---|
CANCEL_QUERY
Cancel an existing query
|
GET_CATALOGS
Get catalog metadata
|
GET_COLUMNS
Get columns metadata
|
GET_SCHEMAS
Get schemas metadata
|
GET_SERVER_META
Get server metadata
|
GET_TABLES
Get tables metadata
|
PLAN_QUERY
Plan a query without executing it
|
PREPARED_STATEMENT
Prepare a query for deferred execution
|
RESUME_PAUSED_QUERY
Resume a query
|
RUN_QUERY
Submitting a query
|
| Modifier and Type | Method and Description |
|---|---|
Version |
getMinVersion() |
static ServerMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerMethod RUN_QUERY
public static final ServerMethod PLAN_QUERY
public static final ServerMethod CANCEL_QUERY
public static final ServerMethod RESUME_PAUSED_QUERY
public static final ServerMethod PREPARED_STATEMENT
public static final ServerMethod GET_CATALOGS
public static final ServerMethod GET_SCHEMAS
public static final ServerMethod GET_TABLES
public static final ServerMethod GET_COLUMNS
public static final ServerMethod GET_SERVER_META
public static ServerMethod[] values()
for (ServerMethod c : ServerMethod.values()) System.out.println(c);
public static ServerMethod 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 Version getMinVersion()
Copyright © 2022 The Apache Software Foundation. All rights reserved.