public enum ZPostgreSQLFieldType extends java.lang.Enum<ZPostgreSQLFieldType>
限定符和类型 | 方法和说明 |
---|---|
static ZPostgreSQLFieldType |
getDataType(ZPostgreSQLFieldType oracleDataType) |
java.lang.String |
getName() |
ZPostgreSQLFieldType |
getPostgreSQLDataTypeByValue(java.lang.String value) |
java.lang.String |
getTemp() |
ZPostgreSQLFieldType |
notNull() |
ZPostgreSQLFieldType |
setLength(int num) |
ZPostgreSQLFieldType |
setLength(int precision,
int scale) |
java.lang.String |
toString() |
static ZPostgreSQLFieldType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ZPostgreSQLFieldType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ZPostgreSQLFieldType CHAR
public static final ZPostgreSQLFieldType CHARACTER
public static final ZPostgreSQLFieldType VARCHAR
public static final ZPostgreSQLFieldType CHARACTERVARYING
public static final ZPostgreSQLFieldType TEXT
public static final ZPostgreSQLFieldType NUMERIC
public static final ZPostgreSQLFieldType INT2
public static final ZPostgreSQLFieldType SMALLINT
public static final ZPostgreSQLFieldType INT4
public static final ZPostgreSQLFieldType INT
public static final ZPostgreSQLFieldType INTEGER
public static final ZPostgreSQLFieldType INT8
public static final ZPostgreSQLFieldType BIGINT
public static final ZPostgreSQLFieldType DECIMAL
public static final ZPostgreSQLFieldType FLOAT4
public static final ZPostgreSQLFieldType REAL
public static final ZPostgreSQLFieldType FLOAT8
public static final ZPostgreSQLFieldType DOUBLE
public static final ZPostgreSQLFieldType SERIAL
public static final ZPostgreSQLFieldType BIGSERIAL
public static final ZPostgreSQLFieldType TIMESTAMP
public static final ZPostgreSQLFieldType DATE
public static final ZPostgreSQLFieldType TIME
public static final ZPostgreSQLFieldType BOOL
public static final ZPostgreSQLFieldType BOOLEAN
public static final ZPostgreSQLFieldType MONEY
public static final ZPostgreSQLFieldType POINT
public static final ZPostgreSQLFieldType LINE
public static final ZPostgreSQLFieldType POLYGON
public static final ZPostgreSQLFieldType CIRCLE
public static final ZPostgreSQLFieldType PATH
public static final ZPostgreSQLFieldType LSEG
public static ZPostgreSQLFieldType[] values()
for (ZPostgreSQLFieldType c : ZPostgreSQLFieldType.values()) System.out.println(c);
public static ZPostgreSQLFieldType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String getName()
public ZPostgreSQLFieldType setLength(int num)
public ZPostgreSQLFieldType setLength(int precision, int scale)
public ZPostgreSQLFieldType notNull()
public static ZPostgreSQLFieldType getDataType(ZPostgreSQLFieldType oracleDataType)
public java.lang.String toString()
toString
在类中 java.lang.Enum<ZPostgreSQLFieldType>
public java.lang.String getTemp()
public ZPostgreSQLFieldType getPostgreSQLDataTypeByValue(java.lang.String value)