Package mil.nga.geopackage.features.user
Class FeatureConnection
- java.lang.Object
-
- mil.nga.geopackage.user.UserCoreConnection<TColumn,TTable,TRow,TResult>
-
- mil.nga.geopackage.user.UserConnection<FeatureColumn,FeatureTable,FeatureRow,FeatureResultSet>
-
- mil.nga.geopackage.features.user.FeatureConnection
-
public class FeatureConnection extends UserConnection<FeatureColumn,FeatureTable,FeatureRow,FeatureResultSet>
GeoPackage Feature Connection- Author:
- osbornb
-
-
Field Summary
-
Fields inherited from class mil.nga.geopackage.user.UserConnection
connection, table
-
-
Constructor Summary
Constructors Constructor Description FeatureConnection(GeoPackageConnection database)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FeatureResultSet
createResult(String[] columns, ResultSet resultSet, String sql, String[] selectionArgs)
Create a result by wrapping the ResultSet
-
-
-
Constructor Detail
-
FeatureConnection
public FeatureConnection(GeoPackageConnection database)
Constructor- Parameters:
database
- GeoPackage connection
-
-
Method Detail
-
createResult
protected FeatureResultSet createResult(String[] columns, ResultSet resultSet, String sql, String[] selectionArgs)
Create a result by wrapping the ResultSet- Specified by:
createResult
in classUserConnection<FeatureColumn,FeatureTable,FeatureRow,FeatureResultSet>
- Parameters:
columns
- columnsresultSet
- result setsql
- SQL statementselectionArgs
- selection arguments- Returns:
- result
-
-