public enum PhysicalDataType extends Enum<PhysicalDataType>
Enumeration of all supported physical data types for the Runtime Metadata
Enum Constant and Description |
---|
BLOB
Binary Large Object: Binary Large Object
|
CHAR
Character: Character
|
CLOB
Character Large Object: Character Large Object
|
DATE
Date Time: Date Time
|
NUMBER
Number: Number
|
RAW
Raw binary: Raw binary
|
TIMESTAMP
Timestamp: Timestamp
|
VARCHAR
Variable character: Variable character
|
Modifier and Type | Method and Description |
---|---|
String |
getDDLPattern() |
String |
getDDLPattern(Integer pLength,
Integer pPrecision,
Integer pScale) |
Integer |
getMaxLength() |
Integer |
getMaxPrecision() |
Integer |
getMaxScale() |
Integer |
getMinLength() |
Integer |
getMinPrecision() |
Integer |
getMinScale() |
String |
getName() |
boolean |
isLengthSupported() |
boolean |
isLOB() |
boolean |
isPrecisionSupported() |
boolean |
isScaleSupported() |
static PhysicalDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhysicalDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhysicalDataType BLOB
public static final PhysicalDataType CHAR
public static final PhysicalDataType CLOB
public static final PhysicalDataType DATE
public static final PhysicalDataType NUMBER
public static final PhysicalDataType RAW
public static final PhysicalDataType TIMESTAMP
public static final PhysicalDataType VARCHAR
public static PhysicalDataType[] values()
for (PhysicalDataType c : PhysicalDataType.values()) System.out.println(c);
public static PhysicalDataType 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 getDDLPattern()
public boolean isLengthSupported()
public Integer getMaxLength()
public boolean isPrecisionSupported()
public Integer getMaxPrecision()
public boolean isScaleSupported()
public Integer getMaxScale()
public Integer getMinScale()
public Integer getMinPrecision()
public Integer getMinLength()
public boolean isLOB()
public String getName()
Copyright © 2016. All Rights Reserved.