public enum STMTAction extends Enum<STMTAction>
| Enum Constant and Description |
|---|
ADD_BATCH |
BIND |
CLOSE |
CONN |
EXEC |
INIT |
PREPARE |
SET_TABLE_NAME |
SET_TAGS |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction() |
Class<? extends Response> |
getClazz() |
static STMTAction |
of(String action) |
static STMTAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STMTAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STMTAction CONN
public static final STMTAction INIT
public static final STMTAction PREPARE
public static final STMTAction SET_TABLE_NAME
public static final STMTAction SET_TAGS
public static final STMTAction BIND
public static final STMTAction ADD_BATCH
public static final STMTAction EXEC
public static final STMTAction CLOSE
public static STMTAction[] values()
for (STMTAction c : STMTAction.values()) System.out.println(c);
public static STMTAction 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 String getAction()
public static STMTAction of(String action)
Copyright © 2023. All rights reserved.