org.geotools.gce.imagemosaic.jdbc
Class UniversalDialect
java.lang.Object
org.geotools.gce.imagemosaic.jdbc.DBDialect
org.geotools.gce.imagemosaic.jdbc.UniversalDialect
public class UniversalDialect
- extends DBDialect
This class implements a common db dialect (no spatial extensions used)
- Author:
- mcr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniversalDialect
public UniversalDialect(Config config)
getBLOBSQLType
protected java.lang.String getBLOBSQLType()
- Specified by:
getBLOBSQLType
in class DBDialect
- Returns:
- the sql type name for a blob (Binary Large Object)
getMultiPolygonSQLType
protected java.lang.String getMultiPolygonSQLType()
- Specified by:
getMultiPolygonSQLType
in class DBDialect
- Returns:
- the sql type name for a Multipolygon
getCreateSpatialTableStatement
protected java.lang.String getCreateSpatialTableStatement(java.lang.String tableName)
throws java.lang.Exception
- Overrides:
getCreateSpatialTableStatement
in class DBDialect
- Returns:
- the sql create table statement for a spatial table
- Throws:
java.lang.Exception
getCreateSpatialTableStatementJoined
protected java.lang.String getCreateSpatialTableStatementJoined(java.lang.String tableName)
throws java.lang.Exception
- Overrides:
getCreateSpatialTableStatementJoined
in class DBDialect
- Returns:
- the sql create table statement for a combined spatial/tile table
named tableName
- Throws:
java.lang.Exception
getCreateIndexStatement
protected java.lang.String getCreateIndexStatement(java.lang.String tn)
throws java.lang.Exception
- Specified by:
getCreateIndexStatement
in class DBDialect
- Parameters:
tn
- sql table name
- Returns:
- sql create spatial index statement for tn
- Throws:
java.lang.Exception
Copyright © 1996-2010 Geotools. All Rights Reserved.