public enum SqliteType extends Enum<SqliteType> implements IDataBaseType
| Enum Constant and Description |
|---|
BIGINT |
BOOL |
BPCHAR |
BYTEA |
DECIMAL |
DOUBLE_PRECISION |
FLOAT4 |
FLOAT8 |
INT2 |
INT4 |
INT8 |
INTEGER |
MONEY |
NAME |
NUMERIC |
TEXT |
TIME |
TIMESTAMP |
TIMESTAMPTZ |
TIMETZ |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
abstract <T,E extends Exception> |
accept(ISqliteTypeVisitor<T,E> visitor) |
static SqliteType |
getByName(String name) |
static SqliteType |
getByTypeCode(int code) |
int |
getCode() |
static SqliteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqliteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqliteType INT2
public static final SqliteType INT4
public static final SqliteType INT8
public static final SqliteType INTEGER
public static final SqliteType BIGINT
public static final SqliteType FLOAT4
public static final SqliteType FLOAT8
public static final SqliteType DOUBLE_PRECISION
public static final SqliteType DECIMAL
public static final SqliteType NUMERIC
public static final SqliteType MONEY
public static final SqliteType BPCHAR
public static final SqliteType TEXT
public static final SqliteType NAME
public static final SqliteType BYTEA
public static final SqliteType BOOL
public static final SqliteType TIME
public static final SqliteType TIMESTAMP
public static final SqliteType TIMETZ
public static final SqliteType TIMESTAMPTZ
public static final SqliteType UNKNOWN
public static SqliteType[] values()
for (SqliteType c : SqliteType.values()) System.out.println(c);
public static SqliteType 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 static SqliteType getByName(String name)
public static SqliteType getByTypeCode(int code)
public int getCode()
getCode in interface IDataBaseTypepublic abstract <T,E extends Exception> void accept(ISqliteTypeVisitor<T,E> visitor) throws E extends Exception
E extends ExceptionCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.