Class Converters


  • public class Converters
    extends Object
    • Constructor Detail

      • Converters

        public Converters​(TimeZone sessionTimeZone,
                          SFBaseSession session,
                          long resultVersion,
                          boolean honorClientTZForTimestampNTZ,
                          boolean treatNTZAsUTC,
                          boolean useSessionTimezone,
                          boolean formatDateWithTimeZone,
                          net.snowflake.common.core.SFBinaryFormat binaryFormatter,
                          net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter,
                          net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter,
                          net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter,
                          net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter,
                          net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter)
    • Method Detail

      • integerConverter

        public Converter integerConverter​(int columnType)
      • smallIntConverter

        public Converter smallIntConverter​(int columnType)
      • tinyIntConverter

        public Converter tinyIntConverter​(int columnType)
      • bigIntConverter

        public Converter bigIntConverter​(int columnType)
      • longConverter

        public Converter longConverter​(int columnType)
      • bigDecimalConverter

        public Converter bigDecimalConverter​(int columnType)
      • floatConverter

        public Converter floatConverter​(int columnType)
      • doubleConverter

        public Converter doubleConverter​(int columnType)
      • bytesConverter

        public Converter bytesConverter​(int columnType,
                                        int scale)
      • varcharConverter

        public Converter varcharConverter​(int columnType,
                                          int columnSubType,
                                          int scale)
      • booleanConverter

        public Converter booleanConverter​(int columnType)
      • timeFromIntConverter

        public Converter timeFromIntConverter​(int scale)
      • timestampFromStringConverter

        public Converter timestampFromStringConverter​(int columnSubType,
                                                      int columnType,
                                                      int scale,
                                                      SFBaseSession session,
                                                      TimeZone tz,
                                                      TimeZone sessionTimezone)
      • timestampFromStructConverter

        public Converter timestampFromStructConverter​(int columnType,
                                                      int columnSubType,
                                                      TimeZone tz,
                                                      int scale)
      • structConverter

        public Converter structConverter​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • arrayConverter

        public Converter arrayConverter​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)