public class H2SpatialHelper extends JDBCHelperBase
Modifier and Type | Field and Description |
---|---|
static String |
H2SpatialJDBCDriver |
operationsFactory, srss
Constructor and Description |
---|
H2SpatialHelper(JDBCConnectionParameters connectionParameters) |
close, closeResourceRequested, createFeature, createProvider, createServerExplorer, doDispose, fetchFeature, fetchFeature, getConnectionWritable, getDatabaseCodeFromProyection, getGeometryFromColumn, getGeometryFromColumn, getGeometryManager, getProjectionFromDatabaseCode, getResource, getResulSetControler, getSourceId, initialize, initializeResource, resourceChanged, useSubquery
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
public static final String H2SpatialJDBCDriver
public H2SpatialHelper(JDBCConnectionParameters connectionParameters)
public static String getConnectionURL(H2SpatialConnectionParameters params)
public Connection getConnection() throws AccessResourceException
getConnection
in interface JDBCHelper
getConnection
in class JDBCHelperBase
AccessResourceException
public void closeConnection(Connection connection)
closeConnection
in interface JDBCHelper
closeConnection
in class JDBCHelperBase
public H2SpatialConnectionParameters 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 int getSRSCode(IProjection crs)
getSRSCode
in interface JDBCHelper
getSRSCode
in class JDBCHelperBase
public IProjection getProjectionFromSRSId(int srsid)
getProjectionFromSRSId
in interface JDBCHelper
getProjectionFromSRSId
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 Geometry forceGeometryType(GeometryType geomtype, Geometry geom) throws CreateGeometryException
CreateGeometryException