public abstract class DBDialect extends Object
Modifier and Type | Field and Description |
---|---|
protected Config |
config |
protected DataSource |
dataSource |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getBLOBSQLType() |
protected Config |
getConfig() |
Connection |
getConnection() |
protected abstract String |
getCreateIndexStatement(String tn) |
protected String |
getCreateSpatialTableStatement(String tableName) |
protected String |
getCreateSpatialTableStatementJoined(String tableName) |
static DBDialect |
getDBDialect(Config config)
Factory method for obtaining a DBDialect object for a special spatial extension
|
protected String |
getDoubleSQLType() |
protected abstract String |
getMultiPolygonSQLType() |
protected String |
getRegisterSpatialStatement(String tn,
String srs) |
protected String |
getUnregisterSpatialStatement(String tn) |
protected DataSource dataSource
protected Config config
public DBDialect(Config config)
config
- public static DBDialect getDBDialect(Config config)
config
- protected abstract String getBLOBSQLType()
protected abstract String getMultiPolygonSQLType()
protected Config getConfig()
public Connection getConnection() throws Exception
Exception
protected String getUnregisterSpatialStatement(String tn)
tn
- sql table nameprotected String getRegisterSpatialStatement(String tn, String srs)
tn
- sql table namesrs
- name of spatial reference system to useprotected abstract String getCreateIndexStatement(String tn) throws Exception
tn
- sql table nameException
protected String getDoubleSQLType()
protected String getCreateSpatialTableStatement(String tableName) throws Exception
tableName
- Exception
Copyright © 1996–2019 Geotools. All rights reserved.