public class ExternalDataType extends Object
PortTypes
).
Currently, all of these types come from the Pervasive Data Integrator product
and are uniquely identified by their Pervasive data type code.
An ExternalDataType
is constructed with an indicator of whether
or not it is character set encoded. This is supported so customizers of these
types may change their behavior based upon the requirement of a decoder.
Data types are broadly divided into binary and character set encoded for the
purposes of many DataRush readers.
Modifier and Type | Field and Description |
---|---|
static ExternalDataType |
BOOLEAN_TYPE
Boolean data type
|
static ExternalDataType |
CHAR_TYPE
Text data type
|
static ExternalDataType |
COMP_3
Comp3 data type
|
static ExternalDataType |
DATE_TYPE
Date data type
|
static ExternalDataType |
DECIMAL_TYPE
Decimal data type
|
static ExternalDataType |
DISP_SIGN_LEADING
Encoded numeric type with leading sign
|
static ExternalDataType |
DISP_SIGN_LEADING_SEP
Encoded numeric type with separate leading sign
|
static ExternalDataType |
DISP_SIGN_TRAILING
Encoded numeric type with trailing sign
|
static ExternalDataType |
DISP_SIGN_TRAILING_SEP
Encoded numeric type with separate trailing sign
|
static ExternalDataType |
FLOAT_TYPE
Float data type
|
static ExternalDataType |
INTEGER_TYPE
Integer data type
|
static ExternalDataType |
LONG_TYPE
Long data type
|
static ExternalDataType |
NAME_TYPE
Name data type.
|
static ExternalDataType |
NUMERIC_TYPE
Numeric data type
|
static ExternalDataType |
PACKED_DECIMAL
Packed decimal data type
|
static ExternalDataType |
SHORT_TYPE
Short data type
|
static ExternalDataType |
TEXT_TYPE
Text data type
|
static ExternalDataType |
TIME_TYPE
Time data type
|
static ExternalDataType |
TIMESTAMP_TYPE
Timestamp data type
|
static ExternalDataType |
UNKNOWN_TYPE
Unknown data type
|
static ExternalDataType |
ZONED_DECIMAL
Zoned decimal data type
|
static ExternalDataType |
ZONED_LEADING_SIGN
Zoned decimal data type with leading sign
|
static ExternalDataType |
ZONED_TRAILING_SIGN
Zoned decimal data type with trailing sign
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCharsetEncoded()
Return indicator of whether or not the data type is character set encoded.
|
String |
getName()
Return the external data type name.
|
int |
getOrdinal()
Return the ordinal value.
|
static ExternalDataType |
getType(int ordinalValue)
Get the external data type enum for the given ordinal value.
|
String |
toString() |
public static final ExternalDataType UNKNOWN_TYPE
public static final ExternalDataType TEXT_TYPE
public static final ExternalDataType CHAR_TYPE
public static final ExternalDataType SHORT_TYPE
public static final ExternalDataType INTEGER_TYPE
public static final ExternalDataType FLOAT_TYPE
public static final ExternalDataType DECIMAL_TYPE
public static final ExternalDataType DATE_TYPE
public static final ExternalDataType TIME_TYPE
public static final ExternalDataType TIMESTAMP_TYPE
public static final ExternalDataType BOOLEAN_TYPE
public static final ExternalDataType NAME_TYPE
public static final ExternalDataType LONG_TYPE
public static final ExternalDataType NUMERIC_TYPE
public static final ExternalDataType PACKED_DECIMAL
public static final ExternalDataType COMP_3
public static final ExternalDataType DISP_SIGN_TRAILING_SEP
public static final ExternalDataType DISP_SIGN_LEADING_SEP
public static final ExternalDataType DISP_SIGN_TRAILING
public static final ExternalDataType DISP_SIGN_LEADING
public static final ExternalDataType ZONED_DECIMAL
public static final ExternalDataType ZONED_LEADING_SIGN
public static final ExternalDataType ZONED_TRAILING_SIGN
public String getName()
public int getOrdinal()
public boolean getCharsetEncoded()
public static ExternalDataType getType(int ordinalValue)
ordinalValue
- The ordinal value to look up.Copyright © 2020 Actian Corporation. All rights reserved.