Package nl.b3p.jdbc.util.converter
Class PostgisJdbcConverter
java.lang.Object
nl.b3p.jdbc.util.converter.GeometryJdbcConverter
nl.b3p.jdbc.util.converter.PostgisJdbcConverter
- Author:
- Matthijs Laan
- 
Field SummaryFields inherited from class nl.b3p.jdbc.util.converter.GeometryJdbcConvertergf, wkt
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuildLimitSql(StringBuilder sql, int limit) buildPaginationSql(String sql, int offset, int limit) org.locationtech.jts.geom.GeometryconvertToJTSGeometryObject(Object nativeObj) convertToNativeGeometryObject(org.locationtech.jts.geom.Geometry g) convertToNativeGeometryObject(org.locationtech.jts.geom.Geometry g, int srid) getMViewRefreshSQL(String mview) getSelectNextValueFromSequenceSQL(String seqName) get the database flavour specific SQL statement to get the next value from a sequence.booleanisDuplicateKeyViolationMessage(String message) booleanisFKConstraintViolationMessage(String message) bepaal of een melding een constraint violation betreft.booleanvoidbooleanMethods inherited from class nl.b3p.jdbc.util.converter.GeometryJdbcConverterconvertToNativeGeometryObject, convertToSQLObject, createNativePoint, createPSGeometryPlaceholder, getUpdateSequenceSQL
- 
Constructor Details- 
PostgisJdbcConverterpublic PostgisJdbcConverter()
 
- 
- 
Method Details- 
isDuplicateKeyViolationMessage- Specified by:
- isDuplicateKeyViolationMessagein class- GeometryJdbcConverter
 
- 
isFKConstraintViolationMessageDescription copied from class:GeometryJdbcConverterbepaal of een melding een constraint violation betreft.- Specified by:
- isFKConstraintViolationMessagein class- GeometryJdbcConverter
- Parameters:
- message- de melding uit de database
- Returns:
- trueals de melding een contraint violation betreft
 
- 
convertToNativeGeometryObjectpublic Object convertToNativeGeometryObject(org.locationtech.jts.geom.Geometry g) throws SQLException - Specified by:
- convertToNativeGeometryObjectin class- GeometryJdbcConverter
- Throws:
- SQLException
 
- 
convertToNativeGeometryObjectpublic Object convertToNativeGeometryObject(org.locationtech.jts.geom.Geometry g, int srid) throws SQLException - Specified by:
- convertToNativeGeometryObjectin class- GeometryJdbcConverter
- Throws:
- SQLException
 
- 
getSchema- Specified by:
- getSchemain class- GeometryJdbcConverter
 
- 
setSchema
- 
getGeomTypeName- Specified by:
- getGeomTypeNamein class- GeometryJdbcConverter
 
- 
buildPaginationSql- Specified by:
- buildPaginationSqlin class- GeometryJdbcConverter
 
- 
buildLimitSql- Specified by:
- buildLimitSqlin class- GeometryJdbcConverter
 
- 
useSavepointspublic boolean useSavepoints()- Specified by:
- useSavepointsin class- GeometryJdbcConverter
 
- 
isPmdKnownBrokenpublic boolean isPmdKnownBroken()- Specified by:
- isPmdKnownBrokenin class- GeometryJdbcConverter
 
- 
getGeotoolsDBTypeName- Specified by:
- getGeotoolsDBTypeNamein class- GeometryJdbcConverter
 
- 
getMViewsSQL- Specified by:
- getMViewsSQLin class- GeometryJdbcConverter
 
- 
getMViewRefreshSQL- Specified by:
- getMViewRefreshSQLin class- GeometryJdbcConverter
 
- 
getSelectNextValueFromSequenceSQLDescription copied from class:GeometryJdbcConverterget the database flavour specific SQL statement to get the next value from a sequence.- Specified by:
- getSelectNextValueFromSequenceSQLin class- GeometryJdbcConverter
- Parameters:
- seqName- name of sequence
- Returns:
- SQL statement specific for the flavour of database
 
- 
convertToJTSGeometryObject- Specified by:
- convertToJTSGeometryObjectin class- GeometryJdbcConverter
 
 
-