public enum StepEnum extends Enum<StepEnum>
| Enum Constant and Description |
|---|
CLOSE |
CON_CMD |
CONNECT |
FETCH |
FETCH2 |
FINISH |
FREE_RESULT |
QUERY |
| Modifier and Type | Method and Description |
|---|---|
int |
get() |
static String |
getNameByInt(int step) |
static StepEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StepEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepEnum CONNECT
public static final StepEnum CON_CMD
public static final StepEnum QUERY
public static final StepEnum FETCH
public static final StepEnum FETCH2
public static final StepEnum FREE_RESULT
public static final StepEnum CLOSE
public static final StepEnum FINISH
public static StepEnum[] values()
for (StepEnum c : StepEnum.values()) System.out.println(c);
public static StepEnum 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 int get()
public static String getNameByInt(int step)
Copyright © 2025. All rights reserved.