public static enum BoundSqlInterceptor.Type extends Enum<BoundSqlInterceptor.Type>
| Enum Constant and Description |
|---|
COUNT_SQL
count SQL,第二个执行这里
|
ORIGINAL
原始SQL,分页插件执行前,先执行这个类型
|
PAGE_SQL
分页 SQL,最后执行这里
|
| Modifier and Type | Method and Description |
|---|---|
static BoundSqlInterceptor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundSqlInterceptor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundSqlInterceptor.Type ORIGINAL
public static final BoundSqlInterceptor.Type COUNT_SQL
public static final BoundSqlInterceptor.Type PAGE_SQL
public static BoundSqlInterceptor.Type[] values()
for (BoundSqlInterceptor.Type c : BoundSqlInterceptor.Type.values()) System.out.println(c);
public static BoundSqlInterceptor.Type 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 © 2023. All rights reserved.