public enum LogicalDataType extends Enum<LogicalDataType>
Enum Constant and Description |
---|
BINARY |
BOOLEAN |
BYTE_INTEGER |
DATETIME |
DECIMAL |
INTEGER |
LONG_INTEGER |
LONG_TEXT |
SHORT_INTEGER |
STRING |
TIMESTAMP |
UUID |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName(Integer pLength,
Integer pPrecision,
Integer pScale) |
String |
getLabel() |
String |
getName() |
String |
getSuffixPattern(Integer pLength,
Integer pPrecision,
Integer pScale) |
static String |
getTypeDisplayName(IColumnAttribute pAttr) |
boolean |
isLOB() |
boolean |
isNumber() |
static void |
replaceDDLPattern(StringBuilder builder,
Integer pLength,
Integer pPrecision,
Integer pScale) |
boolean |
supportsLength() |
boolean |
supportsPrecision() |
boolean |
supportsScale() |
static LogicalDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogicalDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogicalDataType BINARY
public static final LogicalDataType BOOLEAN
public static final LogicalDataType BYTE_INTEGER
public static final LogicalDataType DATETIME
public static final LogicalDataType DECIMAL
public static final LogicalDataType INTEGER
public static final LogicalDataType LONG_INTEGER
public static final LogicalDataType LONG_TEXT
public static final LogicalDataType SHORT_INTEGER
public static final LogicalDataType STRING
public static final LogicalDataType TIMESTAMP
public static final LogicalDataType UUID
public static LogicalDataType[] values()
for (LogicalDataType c : LogicalDataType.values()) System.out.println(c);
public static LogicalDataType 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()
public boolean isLOB()
public boolean isNumber()
public String getLabel()
public static String getTypeDisplayName(IColumnAttribute pAttr)
public boolean supportsLength()
public boolean supportsScale()
public boolean supportsPrecision()
public String getSuffixPattern(Integer pLength, Integer pPrecision, Integer pScale)
public static void replaceDDLPattern(StringBuilder builder, Integer pLength, Integer pPrecision, Integer pScale)
Copyright © 2017. All rights reserved.