public enum DialectName extends Enum<DialectName>
Enum Constant and Description |
---|
ANSI |
DM |
H2 |
MYSQL |
ORACLE |
PHOENIX |
POSTGRESQL |
SQLITE3 |
SQLSERVER |
SQLSERVER2012 |
Modifier and Type | Method and Description |
---|---|
boolean |
match(String dialectName)
是否为指定数据库方言,检查时不分区大小写
|
static DialectName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialectName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialectName ANSI
public static final DialectName MYSQL
public static final DialectName ORACLE
public static final DialectName POSTGRESQL
public static final DialectName SQLITE3
public static final DialectName H2
public static final DialectName SQLSERVER
public static final DialectName SQLSERVER2012
public static final DialectName PHOENIX
public static final DialectName DM
public static DialectName[] values()
for (DialectName c : DialectName.values()) System.out.println(c);
public static DialectName 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 boolean match(String dialectName)
dialectName
- 方言名Copyright © 2024. All rights reserved.