public enum DbType extends Enum<DbType>
This includes extra types such as UUID, JSON, JSONB and HSTORE.
Enum Constant and Description |
---|
ARRAY |
BIGINT |
BINARY |
BIT |
BLOB |
BOOLEAN |
CDIR |
CHAR |
CLOB |
DATE |
DECIMAL |
DOUBLE |
HSTORE |
INET |
INTEGER |
JSON |
JSONB |
JSONBLOB |
JSONCLOB |
JSONVARCHAR |
LINESTRING |
LONGVARBINARY |
LONGVARCHAR |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
REAL |
SMALLINT |
TIME |
TIMESTAMP |
TINYINT |
UUID |
VARBINARY |
VARCHAR |
Modifier and Type | Method and Description |
---|---|
DbPlatformType |
createPlatformType()
Create a platform type without scale or precision.
|
int |
id()
Return the JDBC java.sql.Types value.
|
static DbType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbType LONGVARBINARY
public static final DbType LONGVARCHAR
public static final DbType LINESTRING
public static final DbType MULTIPOINT
public static final DbType MULTILINESTRING
public static final DbType MULTIPOLYGON
public static final DbType JSONVARCHAR
public static DbType[] values()
for (DbType c : DbType.values()) System.out.println(c);
public static DbType 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 int id()
public DbPlatformType createPlatformType()
Copyright © 2019. All rights reserved.