Class SpatialiteFeatureInputStream
- java.lang.Object
-
- com.vividsolutions.jump.io.BaseFeatureInputStream
-
- com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesFeatureInputStream
-
- com.vividsolutions.jump.datastore.spatialite.SpatialiteFeatureInputStream
-
- All Implemented Interfaces:
FeatureInputStream
public class SpatialiteFeatureInputStream extends SpatialDatabasesFeatureInputStream
- Author:
- nicolas
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesFeatureInputStream
conn, featureSchema, queryString
-
-
Constructor Summary
Constructors Constructor Description SpatialiteFeatureInputStream(Connection conn, String queryString)
SpatialiteFeatureInputStream(Connection conn, String queryString, String externalIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SpatialDatabasesResultSetConverter
getResultSetConverter(ResultSet rs)
Returns a SpatialiteResultSetConvertervoid
setMetadata(SpatialiteDSMetadata metadata)
-
Methods inherited from class com.vividsolutions.jump.datastore.spatialdatabases.SpatialDatabasesFeatureInputStream
close, getConnection, getFeatureSchema, getQueryString, getStatement, readNext
-
Methods inherited from class com.vividsolutions.jump.io.BaseFeatureInputStream
hasNext, next
-
-
-
-
Constructor Detail
-
SpatialiteFeatureInputStream
public SpatialiteFeatureInputStream(Connection conn, String queryString)
-
SpatialiteFeatureInputStream
public SpatialiteFeatureInputStream(Connection conn, String queryString, String externalIdentifier)
-
-
Method Detail
-
setMetadata
public void setMetadata(SpatialiteDSMetadata metadata)
-
getResultSetConverter
protected SpatialDatabasesResultSetConverter getResultSetConverter(ResultSet rs)
Returns a SpatialiteResultSetConverter- Overrides:
getResultSetConverter
in classSpatialDatabasesFeatureInputStream
- Parameters:
rs
- ResultSet to convert- Returns:
- a converter to convert data from a ResultSet to objects compatible with OpenJUMP type system.
-
-