Class DataTypeParser
- java.lang.Object
-
- com.exasol.adapter.request.parser.DataTypeParser
-
public class DataTypeParser extends Object
Starting with major version 8 Exasol database uses the capabilities reported by each virtual schema to provide select list data types for each push down request. Based on this information the JDBC virtual schemas no longer need to infer the data types of the result set by inspecting its values. Instead the JDBC virtual schemas can now use the information provided by the database.Class
DataTypeParser
parses the data types from json.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataTypeParser.DataTypeParserException
Signal an error during parsing data types from json.
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_TIMESTAMP_PRECISION
Default precision of the seconds part of a timestamp.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataTypeParser
create()
List<DataType>
parse(jakarta.json.JsonArray jsonArray)
-
-
-
Field Detail
-
DEFAULT_TIMESTAMP_PRECISION
public static final int DEFAULT_TIMESTAMP_PRECISION
Default precision of the seconds part of a timestamp.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static DataTypeParser create()
- Returns:
- new instance of
DataTypeParser
-
-