goldengate.common.database.model
Enum DbModelMysql.DBType
java.lang.Object
java.lang.Enum<DbModelMysql.DBType>
goldengate.common.database.model.DbModelMysql.DBType
- All Implemented Interfaces:
- Serializable, Comparable<DbModelMysql.DBType>
- Enclosing class:
- DbModelMysql
protected static enum DbModelMysql.DBType
- extends Enum<DbModelMysql.DBType>
CHAR
public static final DbModelMysql.DBType CHAR
VARCHAR
public static final DbModelMysql.DBType VARCHAR
LONGVARCHAR
public static final DbModelMysql.DBType LONGVARCHAR
BIT
public static final DbModelMysql.DBType BIT
TINYINT
public static final DbModelMysql.DBType TINYINT
SMALLINT
public static final DbModelMysql.DBType SMALLINT
INTEGER
public static final DbModelMysql.DBType INTEGER
BIGINT
public static final DbModelMysql.DBType BIGINT
REAL
public static final DbModelMysql.DBType REAL
DOUBLE
public static final DbModelMysql.DBType DOUBLE
VARBINARY
public static final DbModelMysql.DBType VARBINARY
DATE
public static final DbModelMysql.DBType DATE
TIMESTAMP
public static final DbModelMysql.DBType TIMESTAMP
type
public int type
constructor
public String constructor
values
public static DbModelMysql.DBType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DbModelMysql.DBType c : DbModelMysql.DBType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DbModelMysql.DBType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getType
public static String getType(int sqltype)
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.