public enum SqlServerType extends Enum<SqlServerType> implements SQLType
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
String |
getSqlTypeName() |
String |
getSqlTypeName(long length) |
String |
getSqlTypeName(long precision,
long scale) |
String |
getSqlTypeName(Map<String,Object> params) |
String |
getVendor() |
Integer |
getVendorTypeNumber() |
static org.apache.commons.lang3.tuple.Pair<SqlServerType,Map<String,Object>> |
parse(String fullTypeName) |
static SqlServerType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SqlServerType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SqlServerType UNKNOWN
public static final SqlServerType TINYINT
public static final SqlServerType BIT
public static final SqlServerType SMALLINT
public static final SqlServerType INTEGER
public static final SqlServerType INT_IDENTITY
public static final SqlServerType BIGINT
public static final SqlServerType FLOAT
public static final SqlServerType REAL
public static final SqlServerType SMALLDATETIME
public static final SqlServerType DATETIME
public static final SqlServerType DATE
public static final SqlServerType TIME
public static final SqlServerType DATETIME2
public static final SqlServerType DATETIMEOFFSET
public static final SqlServerType SMALLMONEY
public static final SqlServerType MONEY
public static final SqlServerType CHAR
public static final SqlServerType VARCHAR
public static final SqlServerType VARCHARMAX
public static final SqlServerType TEXT
public static final SqlServerType NCHAR
public static final SqlServerType NVARCHAR
public static final SqlServerType NVARCHARMAX
public static final SqlServerType NTEXT
public static final SqlServerType BINARY
public static final SqlServerType VARBINARY
public static final SqlServerType VARBINARYMAX
public static final SqlServerType IMAGE
public static final SqlServerType DECIMAL
public static final SqlServerType NUMERIC
public static final SqlServerType GUID
public static final SqlServerType SQL_VARIANT
public static final SqlServerType UDT
public static final SqlServerType XML
public static final SqlServerType TIMESTAMP
public static final SqlServerType GEOMETRY
public static final SqlServerType GEOGRAPHY
public static SqlServerType[] values()
for (SqlServerType c : SqlServerType.values()) System.out.println(c);
public static SqlServerType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Integer getVendorTypeNumber()
getVendorTypeNumber 在接口中 SQLTypepublic String getSqlTypeName()
public String getSqlTypeName(long length)
public String getSqlTypeName(long precision, long scale)
public static org.apache.commons.lang3.tuple.Pair<SqlServerType,Map<String,Object>> parse(String fullTypeName)
Copyright © 2024 The Apache Software Foundation. All rights reserved.