public enum OperationType extends Enum<OperationType>
Enum Constant and Description |
---|
EXECUTE_STATEMENT |
GET_CATALOGS |
GET_COLUMNS |
GET_FUNCTIONS |
GET_SCHEMAS |
GET_TABLE_TYPES |
GET_TABLES |
GET_TYPE_INFO |
UNKNOWN_OPERATION |
Modifier and Type | Method and Description |
---|---|
static OperationType |
getOperationType(TOperationType tOperationType) |
TOperationType |
toTOperationType() |
static OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationType UNKNOWN_OPERATION
public static final OperationType EXECUTE_STATEMENT
public static final OperationType GET_TYPE_INFO
public static final OperationType GET_CATALOGS
public static final OperationType GET_SCHEMAS
public static final OperationType GET_TABLES
public static final OperationType GET_TABLE_TYPES
public static final OperationType GET_COLUMNS
public static final OperationType GET_FUNCTIONS
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType 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 static OperationType getOperationType(TOperationType tOperationType)
public TOperationType toTOperationType()
Copyright © 2021 The Apache Software Foundation. All rights reserved.