Class 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.

    • 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

      • parse

        public List<DataType> parse​(jakarta.json.JsonArray jsonArray)
        Parameters:
        jsonArray - JsonArray containing the data types to parse
        Returns:
        list of parsed data types