Class SpatialDatabasesValueConverterFactory

    • Field Detail

      • WKT_GEOMETRY_MAPPER

        protected final ValueConverter WKT_GEOMETRY_MAPPER
      • WKB_GEOMETRY_MAPPER

        protected final ValueConverter WKB_GEOMETRY_MAPPER
      • wkbReader

        protected final org.locationtech.jts.io.WKBReader wkbReader
      • wktReader

        protected final org.locationtech.jts.io.WKTReader wktReader
    • Constructor Detail

      • SpatialDatabasesValueConverterFactory

        public SpatialDatabasesValueConverterFactory​(Connection conn)
    • Method Detail

      • getConverter

        public ValueConverter getConverter​(ResultSetMetaData rsm,
                                           int columnIndex)
                                    throws SQLException
        Base class to get converter from factory. Should never be called !!
        Parameters:
        rsm - a ResultSetMetaData
        columnIndex - column index
        Returns:
        the value converter to use for this column
        Throws:
        SQLException - if the server throws an exception during ResultSetMetaData reading
        UnsupportedOperationException - if the method is not implemented