public class PostgreSQLHelper extends JDBCHelperBase
Modifier and Type | Field and Description |
---|---|
static String |
POSTGRESQL_JDBC_DRIVER |
operationsFactory, srss
Constructor and Description |
---|
PostgreSQLHelper(JDBCConnectionParameters connectionParameters) |
close, closeConnection, closeResourceRequested, createFeature, createProvider, createServerExplorer, doDispose, fetchFeature, fetchFeature, getConnectionWritable, getDatabaseCodeFromProyection, getGeometryFromColumn, getGeometryFromColumn, getGeometryManager, getProjectionFromDatabaseCode, getProjectionFromSRSId, getResource, getResulSetControler, getSourceId, getSRSCode, initialize, initializeResource, resourceChanged, useSubquery
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
public static final String POSTGRESQL_JDBC_DRIVER
public PostgreSQLHelper(JDBCConnectionParameters connectionParameters)
public static String getConnectionURL(PostgreSQLConnectionParameters params)
public Connection getConnection() throws AccessResourceException
getConnection
in interface JDBCHelper
getConnection
in class JDBCHelperBase
AccessResourceException
public PostgreSQLConnectionParameters getConnectionParameters()
getConnectionParameters
in interface JDBCHelper
getConnectionParameters
in class JDBCHelperBase
public String getConnectionURL()
getConnectionURL
in interface JDBCHelper
getConnectionURL
in class JDBCHelperBase
protected String getResourceType()
getResourceType
in class JDBCHelperBase
public String getProviderName()
JDBCHelper
getProviderName
in interface JDBCHelper
getProviderName
in class JDBCHelperBase
public JDBCSQLBuilderBase createSQLBuilder()
JDBCHelper
createSQLBuilder
in interface JDBCHelper
createSQLBuilder
in class JDBCHelperBase
public OperationsFactory getOperations()
getOperations
in interface JDBCHelper
getOperations
in class JDBCHelperBase
public ExpressionBuilder.GeometrySupportType getGeometrySupportType()
JDBCHelper
getGeometrySupportType
in interface JDBCHelper
getGeometrySupportType
in class JDBCHelperBase
public boolean hasSpatialFunctions()
JDBCHelper
hasSpatialFunctions
in interface JDBCHelper
hasSpatialFunctions
in class JDBCHelperBase
public boolean canWriteGeometry(int geometryType, int geometrySubtype)
JDBCHelper
canWriteGeometry
in interface JDBCHelper
canWriteGeometry
in class JDBCHelperBase
public String getQuoteForIdentifiers()
JDBCHelper
getQuoteForIdentifiers
in interface JDBCHelper
getQuoteForIdentifiers
in class JDBCHelperBase
public boolean allowAutomaticValues()
JDBCHelper
allowAutomaticValues
in interface JDBCHelper
allowAutomaticValues
in class JDBCHelperBase
public boolean supportOffsetInSelect()
JDBCHelper
supportOffsetInSelect
in interface JDBCHelper
supportOffsetInSelect
in class JDBCHelperBase
public String getQuoteForStrings()
JDBCHelper
getQuoteForStrings
in interface JDBCHelper
getQuoteForStrings
in class JDBCHelperBase
public String getSourceId(JDBCStoreParameters parameters)
getSourceId
in interface JDBCHelper
getSourceId
in class JDBCHelperBase
public JDBCNewStoreParameters createNewStoreParameters()
createNewStoreParameters
in interface JDBCHelper
createNewStoreParameters
in class JDBCHelperBase
public JDBCStoreParameters createOpenStoreParameters()
createOpenStoreParameters
in interface JDBCHelper
createOpenStoreParameters
in class JDBCHelperBase
public JDBCServerExplorerParameters createServerExplorerParameters()
createServerExplorerParameters
in interface JDBCHelper
createServerExplorerParameters
in class JDBCHelperBase
public void setPreparedStatementParameters(PreparedStatement st, JDBCSQLBuilderBase sqlbuilder, FeatureType type, FeatureProvider feature)