public enum PageStrategy extends Enum<PageStrategy>
Enum Constant and Description |
---|
fake
假分页
|
hasOffsetLimit
查询语句已包含offset,limit
|
onlyList
只查询列表,不包含分页参数.
|
Modifier and Type | Method and Description |
---|---|
static PageStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageStrategy fake
public static final PageStrategy hasOffsetLimit
public static final PageStrategy onlyList
public static PageStrategy[] values()
for (PageStrategy c : PageStrategy.values()) System.out.println(c);
public static PageStrategy 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 © 2020. All rights reserved.