public enum Optimize extends Enum<Optimize>
Count优化枚举
| 枚举常量和说明 |
|---|
ALI_DRUID
aliDruid,需添加相关依赖jar包
|
DEFAULT
默认支持方式
|
JSQLPARSER
jsqlparser方式,需添加相关依赖jar包
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDesc() |
String |
getOptimize() |
static Optimize |
getOptimizeType(String optimizeType)
获取优化类型.如果没有找到默认DEFAULT
|
static Optimize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Optimize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Optimize DEFAULT
public static final Optimize ALI_DRUID
public static final Optimize JSQLPARSER
public static Optimize[] values()
for (Optimize c : Optimize.values()) System.out.println(c);
public static Optimize 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 nullpublic static Optimize getOptimizeType(String optimizeType)
获取优化类型.如果没有找到默认DEFAULT
optimizeType - 优化方式public String getOptimize()
public String getDesc()
Copyright © 2017. All rights reserved.