Class SpatialDatabasesValueConverterFactory
- java.lang.Object
-
- com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesValueConverterFactory
-
- Direct Known Subclasses:
H2ValueConverterFactory
,MariadbValueConverterFactory
,OracleValueConverterFactory
,PostgisValueConverterFactory
,SpatialiteValueConverterFactory
public class SpatialDatabasesValueConverterFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Connection
conn
protected ValueConverter
WKB_GEOMETRY_MAPPER
ValueConverter
WKB_OBJECT_MAPPER
protected org.locationtech.jts.io.WKBReader
wkbReader
protected ValueConverter
WKT_GEOMETRY_MAPPER
protected org.locationtech.jts.io.WKTReader
wktReader
-
Constructor Summary
Constructors Constructor Description SpatialDatabasesValueConverterFactory(Connection conn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueConverter
getConverter(ResultSetMetaData rsm, int columnIndex)
Base class to get converter from factory.
-
-
-
Field Detail
-
WKT_GEOMETRY_MAPPER
protected final ValueConverter WKT_GEOMETRY_MAPPER
-
WKB_GEOMETRY_MAPPER
protected final ValueConverter WKB_GEOMETRY_MAPPER
-
WKB_OBJECT_MAPPER
public final ValueConverter WKB_OBJECT_MAPPER
-
wkbReader
protected final org.locationtech.jts.io.WKBReader wkbReader
-
wktReader
protected final org.locationtech.jts.io.WKTReader wktReader
-
conn
protected final Connection conn
-
-
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 ResultSetMetaDatacolumnIndex
- column index- Returns:
- the value converter to use for this column
- Throws:
SQLException
- if the server throws an exception during ResultSetMetaData readingUnsupportedOperationException
- if the method is not implemented
-
-