| Package | Description |
|---|---|
| com.exasol.adapter.metadata | |
| com.exasol.adapter.metadata.converter | |
| com.exasol.adapter.sql |
| Modifier and Type | Method | Description |
|---|---|---|
static DataType |
DataType.createBool() |
Create a
BOOL data type |
static DataType |
DataType.createChar(int size,
DataType.ExaCharset charset) |
Create a
CHAR data type with a given size and character set |
static DataType |
DataType.createDate() |
Create a
DATE data type |
static DataType |
DataType.createDecimal(int precision,
int scale) |
Create a
DECIMAL (i.e. |
static DataType |
DataType.createDouble() |
Create a
DOUBLE (i.e. |
static DataType |
DataType.createGeometry(int srid) |
Create a
GEOMETRY data type |
static DataType |
DataType.createHashtype(int byteSize) |
Create a
HASHTYPE data type |
static DataType |
DataType.createIntervalDaySecond(int precision,
int fraction) |
Create an
INTERVAL DAY TO SECOND data type |
static DataType |
DataType.createIntervalYearMonth(int precision) |
Create an
INTERVAL YEAR TO MONTH data type |
static DataType |
DataType.createMaximumSizeChar(DataType.ExaCharset charset) |
Create a
CHAR data type with the maximum size supported by Exasol |
static DataType |
DataType.createMaximumSizeVarChar(DataType.ExaCharset charset) |
Create a
VARCHAR data type with the maximum size supported by Exasol |
static DataType |
DataType.createTimestamp(boolean withLocalTimezone) |
Create a
TIMESTAMP data type |
static DataType |
DataType.createUnsupported() |
Create an
UNSUPPORTED data type |
static DataType |
DataType.createVarChar(int size,
DataType.ExaCharset charset) |
Create a
VARCHAR data type with a given size and character set |
DataType |
ColumnMetadata.getType() |
Get the column's data type
|
| Modifier and Type | Method | Description |
|---|---|---|
ColumnMetadata.Builder |
ColumnMetadata.Builder.type(DataType type) |
Set the column's data type
|
| Modifier and Type | Method | Description |
|---|---|---|
javax.json.JsonObject |
SchemaMetadataJsonConverter.convertType(DataType dataType) |
Convert a data type to its JSON representation
|
| Modifier and Type | Method | Description |
|---|---|---|
DataType |
SqlFunctionScalarCast.getDataType() |
|
DataType |
SqlLiteralInterval.getDataType() |
| Constructor | Description |
|---|---|
SqlFunctionScalarCast(DataType dataType,
List<SqlNode> arguments) |
|
SqlLiteralInterval(String value,
DataType type) |
Copyright © 2019. All rights reserved.