public static enum BoundSqlInterceptor.Type extends Enum<BoundSqlInterceptor.Type>
| 枚举常量和说明 |
|---|
COUNT_SQL
count SQL,第二个执行这里
|
ORIGINAL
原始SQL,分页插件执行前,先执行这个类型
|
PAGE_SQL
分页 SQL,最后执行这里
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.