Class SpatialDatabasesResultSetConverter
- java.lang.Object
-
- com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesResultSetConverter
-
- Direct Known Subclasses:
H2ResultSetConverter
,MariadbResultSetConverter
,OracleResultSetConverter
,PostgisResultSetConverter
,SpatialiteResultSetConverter
public class SpatialDatabasesResultSetConverter extends Object
Implements the mapping between a result set and aFeatureSchema
andFeature
set. This is a transient worker class, whose lifetime should be no longer than the lifetime of the provided ResultSet
-
-
Field Summary
Fields Modifier and Type Field Description protected FeatureSchema
featureSchema
protected boolean
isInitialized
protected ValueConverter[]
mapper
protected SpatialDatabasesValueConverterFactory
odm
protected ResultSet
rs
-
Constructor Summary
Constructors Constructor Description SpatialDatabasesResultSetConverter()
empty constructorSpatialDatabasesResultSetConverter(Connection conn, ResultSet rs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Feature
getFeature()
FeatureSchema
getFeatureSchema()
-
-
-
Field Detail
-
rs
protected ResultSet rs
-
featureSchema
protected FeatureSchema featureSchema
-
mapper
protected ValueConverter[] mapper
-
odm
protected SpatialDatabasesValueConverterFactory odm
-
isInitialized
protected boolean isInitialized
-
-
Constructor Detail
-
SpatialDatabasesResultSetConverter
public SpatialDatabasesResultSetConverter()
empty constructor
-
SpatialDatabasesResultSetConverter
public SpatialDatabasesResultSetConverter(Connection conn, ResultSet rs)
-
-
Method Detail
-
getFeatureSchema
public FeatureSchema getFeatureSchema() throws SQLException
- Throws:
SQLException
-
-