public enum SysDataType extends Enum<SysDataType> implements PlasmaEnum
| Enum Constant and Description |
|---|
BIGINT
A large integer.
|
BINARY
The BINARY type is similar to the CHAR type, but stores
binary byte strings rather than nonbinary character strings.
|
BIT
A bit-field type.
|
BLOB
A BLOB column with a maximum length of 65,535 (216 � 1)
bytes.
|
BOOL
These types are synonyms for TINYINT(1).
|
BOOLEAN
These types are synonyms for TINYINT(1).
|
CHAR
The CHAR and VARCHAR types are similar, but differ in the
way they are stored and retrieved.
|
DATE
A date.
|
DATETIME
A date and time combination.
|
DEC
These types are synonyms for DECIMAL.
|
DECIMAL
A packed ?exact? fixed-point number.
|
DOUBLE
A normal-size (double-precision) floating-point number.
|
DOUBLE__PRECISION
These types are synonyms for DOUBLE.
|
ENUM
An enumeration.
|
FIXED
These types are synonyms for DECIMAL.
|
FLOAT
A small (single-precision) floating-point number.
|
INT
A normal-size integer.
|
INTEGER
This type is a synonym for INT.
|
LONGBLOB
A BLOB column with a maximum length of 4,294,967,295 or
4GB (232 � 1) bytes.
|
LONGTEXT
A TEXT column with a maximum length of 4,294,967,295 or
4GB (232 � 1) characters.
|
MEDIUMBLOB
A BLOB column with a maximum length of 16,777,215 (224 �
1) bytes.
|
MEDIUMINT
A medium-sized integer.
|
MEDIUMTEXT
A TEXT column with a maximum length of 16,777,215 (224 �
1) characters.
|
NUMERIC
These types are synonyms for DECIMAL.
|
SET
A set.
|
SMALLINT
A small integer.
|
TEXT
A TEXT column with a maximum length of 65,535 (216 � 1)
characters.
|
TIME
A time.
|
TIMESTAMP
A timestamp.
|
TINYBLOB
A BLOB column with a maximum length of 255 (28 � 1)
bytes.
|
TINYINT
A very small integer.
|
TINYTEXT
A TEXT column with a maximum length of 255 (28 � 1)
characters.
|
VARBINARY
Holds the logical and physical names for literal VARBINARY.
|
VARCHAR
The CHAR and VARCHAR types are similar, but differ in the
way they are stored and retrieved.
|
YEAR
A year in two-digit or four-digit format.
|
| Modifier and Type | Method and Description |
|---|---|
static PlasmaEnum[] |
enumValues()
Returns the enum values for this class as an array of implemented interfaces
|
static SysDataType |
fromInstanceName(String instanceName)
Returns the enumeration value matching the given physical or instance name.
|
static SysDataType |
fromName(String name)
Returns the enumeration value matching the given name.
|
String |
getDescription()
Returns the descriptive text associated with this enumeration literal.
|
String |
getInstanceName()
Returns the physical or instance name associated with this enumeration literal.
|
String |
getName()
Returns the logical name associated with this enumeration literal.
|
static SysDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SysDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SysDataType BIT
public static final SysDataType TINYINT
public static final SysDataType BOOL
public static final SysDataType BOOLEAN
public static final SysDataType SMALLINT
public static final SysDataType MEDIUMINT
public static final SysDataType INT
public static final SysDataType INTEGER
public static final SysDataType BIGINT
public static final SysDataType DECIMAL
public static final SysDataType DEC
public static final SysDataType NUMERIC
public static final SysDataType FIXED
public static final SysDataType FLOAT
public static final SysDataType DOUBLE
public static final SysDataType DOUBLE__PRECISION
public static final SysDataType DATE
public static final SysDataType DATETIME
public static final SysDataType TIMESTAMP
public static final SysDataType TIME
public static final SysDataType YEAR
public static final SysDataType BINARY
public static final SysDataType VARBINARY
public static final SysDataType TINYBLOB
public static final SysDataType TINYTEXT
public static final SysDataType BLOB
public static final SysDataType TEXT
public static final SysDataType MEDIUMBLOB
public static final SysDataType MEDIUMTEXT
public static final SysDataType LONGBLOB
public static final SysDataType LONGTEXT
public static final SysDataType ENUM
public static final SysDataType SET
public static final SysDataType CHAR
public static final SysDataType VARCHAR
public static SysDataType[] values()
for (SysDataType c : SysDataType.values()) System.out.println(c);
public static SysDataType 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 String getName()
getName in interface PlasmaEnumpublic String getInstanceName()
getInstanceName in interface PlasmaEnumpublic String getDescription()
getDescription in interface PlasmaEnumpublic static PlasmaEnum[] enumValues()
PlasmaEnumpublic static SysDataType fromName(String name)
public static SysDataType fromInstanceName(String instanceName)
Copyright © 2017. All rights reserved.