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