public enum ExecutionControl extends Enum<ExecutionControl>
| Enum Constant and Description |
|---|
PROCEED
继续执行 SQL。
表示拦截器允许 SQL 正常流转并执行。
|
SKIP
跳过执行 SQL。
表示拦截器决定不执行当前 SQL,通常用于短路逻辑或特殊处理。
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionControl PROCEED
public static final ExecutionControl SKIP
public static ExecutionControl[] values()
for (ExecutionControl c : ExecutionControl.values()) System.out.println(c);
public static ExecutionControl 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 nullCopyright © 2024–2025 Dynamic-SQL. All rights reserved.