Package org.geotools.geopkg
Class RsGeoPkgDialect
java.lang.Object
org.geotools.jdbc.SQLDialect
org.geotools.jdbc.PreparedStatementSQLDialect
org.geotools.geopkg.GeoPkgDialect
org.geotools.geopkg.RsGeoPkgDialect
public class RsGeoPkgDialect
extends org.geotools.geopkg.GeoPkgDialect
An extension of GeoPkgDialect to add support for additional geometry types by swapping
out the geometry reader.
Note: this class needs to live in the org.geotools.geopkg package to make use of package private classes from there.
-
Field Summary
Fields inherited from class org.geotools.geopkg.GeoPkgDialect
contentsOnly, geomWriterConfigFields inherited from class org.geotools.jdbc.SQLDialect
BASE_DBMS_CAPABILITIES, dataStore, forceLongitudeFirst, LOGGER, UNWRAPPER_NOT_FOUND, uwMap -
Constructor Summary
ConstructorsConstructorDescriptionRsGeoPkgDialect(org.geotools.jdbc.JDBCDataStore dataStore, org.geotools.geopkg.geom.GeoPkgGeomWriter.Configuration writerConfig) -
Method Summary
Modifier and TypeMethodDescriptionconvertValue(Object value, org.geotools.api.feature.type.AttributeDescriptor ad) org.locationtech.jts.geom.GeometrydecodeGeometryValue(org.geotools.api.feature.type.GeometryDescriptor descriptor, ResultSet rs, int column, org.locationtech.jts.geom.GeometryFactory factory, Connection cx, org.geotools.util.factory.Hints hints) org.locationtech.jts.geom.GeometrydecodeGeometryValue(org.geotools.api.feature.type.GeometryDescriptor descriptor, ResultSet rs, String column, org.locationtech.jts.geom.GeometryFactory factory, Connection cx, org.geotools.util.factory.Hints hints) Class<?>getMapping(ResultSet columns, Connection cx) Methods inherited from class org.geotools.geopkg.GeoPkgDialect
addSupportedHints, applyLimitOffset, canGroupOnGeometry, convert, createCRS, createPreparedFilterToSQL, decodeGeometryEnvelope, encodeColumnType, encodeGeometryEnvelope, encodePrimaryKey, getAggregateConverter, getGeometryDimension, getGeometrySRID, getGeometryTypeName, getLastAutoGeneratedValue, getOptimizedBounds, getPkColumnValue, getPrimaryKey, getRestrictions, getSQLType, includeTable, initializeConnection, isArray, isLimitOffsetSupported, lookupGeneratedValuesPostInsert, postCreateAttribute, postCreateTable, postDropTable, registerClassToSqlMappings, registerSqlTypeNameToClassMappings, registerSqlTypeToSqlTypeNameOverrides, setArrayValue, setContentsOnly, setGeometryValue, setValue, splitFilterMethods inherited from class org.geotools.jdbc.PreparedStatementSQLDialect
convertArrayElement, convertToArray, getArrayComponentTypeName, onDelete, onInsert, onSelect, onUpdate, prepareFunctionArgument, prepareGeometryValue, prepareGeometryValueMethods inherited from class org.geotools.jdbc.SQLDialect
applyHintsOnVirtualTables, canSimplifyPoints, createIndex, dropIndex, encodeColumnAlias, encodeColumnName, encodeCreateTable, encodeGeometryColumn, encodeGeometryColumnGeneralized, encodeGeometryColumnSimplified, encodeJoin, encodeNextSequenceValue, encodePostColumnCreateTable, encodePostCreateTable, encodePostSelect, encodeSchemaName, encodeTableAlias, encodeTableName, escapeName, getDefaultVarcharSize, getDesiredTablesType, getIndexes, getLastAutoGeneratedValue, getMapping, getNameEscape, getNextAutoGeneratedValue, getNextSequenceValue, getResultTypes, getSequenceForColumn, handleSelectHints, handleUserDefinedType, isAggregatedSortSupported, isAutoCommitQuery, isGroupBySupported, ne, postCreateFeatureType, preDropTable, registerAggregateFunctions, registerSqlTypeToClassMappings, supportsSchemaForIndex, unwrapConnection
-
Constructor Details
-
RsGeoPkgDialect
public RsGeoPkgDialect(org.geotools.jdbc.JDBCDataStore dataStore, org.geotools.geopkg.geom.GeoPkgGeomWriter.Configuration writerConfig)
-
-
Method Details
-
decodeGeometryValue
public org.locationtech.jts.geom.Geometry decodeGeometryValue(org.geotools.api.feature.type.GeometryDescriptor descriptor, ResultSet rs, String column, org.locationtech.jts.geom.GeometryFactory factory, Connection cx, org.geotools.util.factory.Hints hints) throws IOException, SQLException - Overrides:
decodeGeometryValuein classorg.geotools.geopkg.GeoPkgDialect- Throws:
IOExceptionSQLException
-
decodeGeometryValue
public org.locationtech.jts.geom.Geometry decodeGeometryValue(org.geotools.api.feature.type.GeometryDescriptor descriptor, ResultSet rs, int column, org.locationtech.jts.geom.GeometryFactory factory, Connection cx, org.geotools.util.factory.Hints hints) throws IOException, SQLException - Overrides:
decodeGeometryValuein classorg.geotools.geopkg.GeoPkgDialect- Throws:
IOExceptionSQLException
-
getMapping
- Overrides:
getMappingin classorg.geotools.geopkg.GeoPkgDialect- Throws:
SQLException
-
convertValue
- Overrides:
convertValuein classorg.geotools.geopkg.GeoPkgDialect
-