| Modifier and Type | Field and Description |
|---|---|
| private static final Map | ALT_SQL_TYPES
Alternate map of SQL types to Access data types |
| public static final DataType | BIG_BINARY
A fixed length binary column longer than the 255 byte |
| public static final DataType | |
| public static final DataType | BINARY
Corresponds to a java |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | COMPLEX_TYPE
Complex type corresponds to a special |
| private static final Map | |
| private final int | defaultPrecision
the default precision value |
| private final int | defaultScale
the default scale value |
| private final int | defaultSize
default size in bytes for var length columns |
| public static final DataType | |
| public static final DataType | EXT_DATE_TIME
Corresponds to a java |
| private final Integer | fixedSize
Size in bytes of fixed length columns |
| public static final DataType | |
| public static final DataType | |
| private final boolean | hasScalePrecision
does this field have scale/precision |
| public static final DataType | |
| public static final DataType | |
| private final boolean | longValue
is this a long value field |
| private final int | maxPrecision
max precision value |
| private final int | maxScale
max scale value |
| private final int | maxSize
Max size in bytes for var length columns |
| public static final DataType | |
| private final int | minPrecision
min precision value |
| private final int | minScale
min scale value |
| private final int | minSize
min in bytes size for var length columns |
| public static final DataType | MONEY
Corresponds to a java |
| public static final DataType | NUMERIC
Corresponds to a java |
| public static final DataType | OLE
Corresponds to a java |
| public static final DataType | SHORT_DATE_TIME
Corresponds to a java |
| private static final Map | SQL_TYPES
Map of SQL types to Access data types |
| private final Integer | sqlType
SQL type equivalent, or null if none defined |
| public static final DataType | |
| private final String | typeName
display name of this type |
| private final int | unitSize
the number of bytes per "unit" for this data type |
| public static final DataType | UNSUPPORTED_FIXEDLEN
Dummy type for a fixed length type which is not currently supported. |
| public static final DataType | UNSUPPORTED_VARLEN
Placeholder type for a variable length type which is not currently supported. |
| private final byte | value
Internal Access value |
| private final boolean | variableLength
is this a variable length field |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private | DataType(byte value, String typeName, Integer sqlType, Integer fixedSize, boolean variableLength, boolean longValue, int minSize, int defaultSize, int maxSize, boolean hasScalePrecision, int minScale, int defaultScale, int maxScale, int minPrecision, int defaultPrecision, int maxPrecision, int unitSize)
|
| Modifier and Type | Method and Description |
|---|---|
| private static void | addNewSqlType(String typeName, DataType type, DataType altType)
Adds mappings for a sql type which was added after jdk 1.5 (using reflection). |
| public static DataType | |
| public static DataType | |
| public static DataType | |
| public static DataType | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public String | |
| public static String | |
| public int | |
| public int | |
| public byte | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private static boolean | |
| public boolean | |
| public int | |
| public int | |
| public int | |
| private static int | |
| public int | |
| public int | |
| public static DataType | |
| public static DataType[] |
| ALT_SQL_TYPES | back to summary |
|---|---|
| private static final Map<Integer, DataType> ALT_SQL_TYPES Alternate map of SQL types to Access data types | |
| BIG_BINARY | back to summary |
|---|---|
| public static final DataType BIG_BINARY A fixed length binary column longer than the 255 byte | |
| BIG_INT | back to summary |
|---|---|
| public static final DataType BIG_INT Corresponds to a java | |
| BINARY | back to summary |
|---|---|
| public static final DataType BINARY Corresponds to a java | |
| BOOLEAN | back to summary |
|---|---|
| public static final DataType BOOLEAN Corresponds to a java | |
| BYTE | back to summary |
|---|---|
| public static final DataType BYTE Corresponds to a java | |
| COMPLEX_TYPE | back to summary |
|---|---|
| public static final DataType COMPLEX_TYPE Complex type corresponds to a special | |
| DATA_TYPES_BY_VALUE | back to summary |
|---|---|
| private static final Map<Byte, DataType> DATA_TYPES_BY_VALUE | |
| defaultPrecision | back to summary |
|---|---|
| private final int defaultPrecision the default precision value | |
| defaultScale | back to summary |
|---|---|
| private final int defaultScale the default scale value | |
| defaultSize | back to summary |
|---|---|
| private final int defaultSize default size in bytes for var length columns | |
| DOUBLE | back to summary |
|---|---|
| public static final DataType DOUBLE Corresponds to a java | |
| EXT_DATE_TIME | back to summary |
|---|---|
| public static final DataType EXT_DATE_TIME Corresponds to a java | |
| fixedSize | back to summary |
|---|---|
| private final Integer fixedSize Size in bytes of fixed length columns | |
| FLOAT | back to summary |
|---|---|
| public static final DataType FLOAT Corresponds to a java | |
| GUID | back to summary |
|---|---|
| public static final DataType GUID Corresponds to a java | |
| hasScalePrecision | back to summary |
|---|---|
| private final boolean hasScalePrecision does this field have scale/precision | |
| INT | back to summary |
|---|---|
| public static final DataType INT Corresponds to a java | |
| LONG | back to summary |
|---|---|
| public static final DataType LONG Corresponds to a java | |
| longValue | back to summary |
|---|---|
| private final boolean longValue is this a long value field | |
| maxPrecision | back to summary |
|---|---|
| private final int maxPrecision max precision value | |
| maxScale | back to summary |
|---|---|
| private final int maxScale max scale value | |
| maxSize | back to summary |
|---|---|
| private final int maxSize Max size in bytes for var length columns | |
| MEMO | back to summary |
|---|---|
| public static final DataType MEMO Corresponds to a java | |
| minPrecision | back to summary |
|---|---|
| private final int minPrecision min precision value | |
| minScale | back to summary |
|---|---|
| private final int minScale min scale value | |
| minSize | back to summary |
|---|---|
| private final int minSize min in bytes size for var length columns | |
| MONEY | back to summary |
|---|---|
| public static final DataType MONEY Corresponds to a java | |
| NUMERIC | back to summary |
|---|---|
| public static final DataType NUMERIC Corresponds to a java | |
| OLE | back to summary |
|---|---|
| public static final DataType OLE Corresponds to a java | |
| SHORT_DATE_TIME | back to summary |
|---|---|
| public static final DataType SHORT_DATE_TIME Corresponds to a java | |
| SQL_TYPES | back to summary |
|---|---|
| private static final Map<Integer, DataType[]> SQL_TYPES Map of SQL types to Access data types | |
| sqlType | back to summary |
|---|---|
| private final Integer sqlType SQL type equivalent, or null if none defined | |
| TEXT | back to summary |
|---|---|
| public static final DataType TEXT Corresponds to a java | |
| typeName | back to summary |
|---|---|
| private final String typeName display name of this type | |
| unitSize | back to summary |
|---|---|
| private final int unitSize the number of bytes per "unit" for this data type | |
| UNSUPPORTED_FIXEDLEN | back to summary |
|---|---|
| public static final DataType UNSUPPORTED_FIXEDLEN Dummy type for a fixed length type which is not currently supported. Handled like a fixed length | |
| UNSUPPORTED_VARLEN | back to summary |
|---|---|
| public static final DataType UNSUPPORTED_VARLEN Placeholder type for a variable length type which is not currently supported. Handled like | |
| value | back to summary |
|---|---|
| private final byte value Internal Access value | |
| variableLength | back to summary |
|---|---|
| private final boolean variableLength is this a variable length field | |
| DataType | back to summary |
|---|---|
| private DataType(byte value, String typeName, Integer sqlType, Integer fixedSize) | |
| DataType | back to summary |
|---|---|
| private DataType(byte value, String typeName, Integer sqlType, Integer fixedSize, boolean variableLength, boolean longValue, int minSize, int defaultSize, int maxSize, int unitSize) | |
| DataType | back to summary |
|---|---|
| private DataType(byte value, String typeName, Integer sqlType, Integer fixedSize, boolean variableLength, boolean longValue, int minSize, int defaultSize, int maxSize, boolean hasScalePrecision, int minScale, int defaultScale, int maxScale, int minPrecision, int defaultPrecision, int maxPrecision, int unitSize) | |
| addNewSqlType | back to summary |
|---|---|
| private static void addNewSqlType(String typeName, DataType type, DataType altType) Adds mappings for a sql type which was added after jdk 1.5 (using reflection). | |
| fromByte | back to summary |
|---|---|
| public static DataType fromByte(byte b) throws IOException | |
| fromSQLType | back to summary |
|---|---|
| public static DataType fromSQLType(int sqlType) throws IOException | |
| fromSQLType | back to summary |
|---|---|
| public static DataType fromSQLType(int sqlType, int lengthInUnits) throws IOException | |
| fromSQLType | back to summary |
|---|---|
| public static DataType fromSQLType(int sqlType, int lengthInUnits, Database. | |
| fromUnitSize | back to summary |
|---|---|
| public int fromUnitSize(int size) | |
| fromUnitSize | back to summary |
|---|---|
| public int fromUnitSize(int size, JetFormat format) | |
| getDefaultPrecision | back to summary |
|---|---|
| public int getDefaultPrecision() | |
| getDefaultScale | back to summary |
|---|---|
| public int getDefaultScale() | |
| getDefaultSize | back to summary |
|---|---|
| public int getDefaultSize() | |
| getFixedSize | back to summary |
|---|---|
| public int getFixedSize() | |
| getFixedSize | back to summary |
|---|---|
| public int getFixedSize(Short colLength) | |
| getHasScalePrecision | back to summary |
|---|---|
| public boolean getHasScalePrecision() | |
| getMaxPrecision | back to summary |
|---|---|
| public int getMaxPrecision() | |
| getMaxScale | back to summary |
|---|---|
| public int getMaxScale() | |
| getMaxSize | back to summary |
|---|---|
| public int getMaxSize() | |
| getMinPrecision | back to summary |
|---|---|
| public int getMinPrecision() | |
| getMinScale | back to summary |
|---|---|
| public int getMinScale() | |
| getMinSize | back to summary |
|---|---|
| public int getMinSize() | |
| getSQLType | back to summary |
|---|---|
| public int getSQLType() throws IOException | |
| getTypeName | back to summary |
|---|---|
| public String getTypeName() | |
| getTypeName | back to summary |
|---|---|
| public static String getTypeName(short value) | |
| getUnitSize | back to summary |
|---|---|
| public int getUnitSize() | |
| getUnitSize | back to summary |
|---|---|
| public int getUnitSize(JetFormat format) | |
| getValue | back to summary |
|---|---|
| public byte getValue() | |
| isLongValue | back to summary |
|---|---|
| public boolean isLongValue() | |
| isMultipleAutoNumberAllowed | back to summary |
|---|---|
| public boolean isMultipleAutoNumberAllowed() | |
| isSupported | back to summary |
|---|---|
| public boolean isSupported() | |
| isTextual | back to summary |
|---|---|
| public boolean isTextual() | |
| isTrueVariableLength | back to summary |
|---|---|
| public boolean isTrueVariableLength() | |
| isValidPrecision | back to summary |
|---|---|
| public boolean isValidPrecision(int precision) | |
| isValidScale | back to summary |
|---|---|
| public boolean isValidScale(int scale) | |
| isValidSize | back to summary |
|---|---|
| public boolean isValidSize(int size) | |
| isVariableLength | back to summary |
|---|---|
| public boolean isVariableLength() | |
| isWithinRange | back to summary |
|---|---|
| private static boolean isWithinRange(int value, int minValue, int maxValue) | |
| mayBeAutoNumber | back to summary |
|---|---|
| public boolean mayBeAutoNumber() | |
| toUnitSize | back to summary |
|---|---|
| public int toUnitSize(int size) | |
| toUnitSize | back to summary |
|---|---|
| public int toUnitSize(int size, JetFormat format) | |
| toValidPrecision | back to summary |
|---|---|
| public int toValidPrecision(int precision) | |
| toValidRange | back to summary |
|---|---|
| private static int toValidRange(int value, int minValue, int maxValue) | |
| toValidScale | back to summary |
|---|---|
| public int toValidScale(int scale) | |
| toValidSize | back to summary |
|---|---|
| public int toValidSize(int size) | |
| valueOf | back to summary |
|---|---|
| public static DataType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static DataType[] values() | |