org.deegree.feature.persistence.sql.ddl
Class MSSQLDDLCreator
java.lang.Object
org.deegree.feature.persistence.sql.ddl.DDLCreator
org.deegree.feature.persistence.sql.ddl.MSSQLDDLCreator
public class MSSQLDDLCreator
- extends DDLCreator
Creates PostGIS-DDL (DataDefinitionLanguage) scripts from MappedAppSchema
instances.
- Version:
- $Revision: 328 $, $Date: 2011-07-01 11:31:23 +0200 (Fr, 01. Jul 2011) $
- Author:
- Markus Schneider, last edited by: $Author: schneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSSQLDDLCreator
public MSSQLDDLCreator(MappedAppSchema schema,
SQLDialect dialect)
- Creates a new
MSSQLDDLCreator
instance for the given MappedAppSchema
.
- Parameters:
schema
- mapped application schema, must not be null
dialect
- SQL dialect, must not be null
getBLOBCreates
protected List<String> getBLOBCreates()
- Specified by:
getBLOBCreates
in class DDLCreator
primitiveMappingSnippet
protected void primitiveMappingSnippet(StringBuffer sql,
PrimitiveMapping mapping)
- Specified by:
primitiveMappingSnippet
in class DDLCreator
geometryMappingSnippet
protected void geometryMappingSnippet(StringBuffer sql,
GeometryMapping mapping,
List<StringBuffer> ddls,
QTableName table)
- Specified by:
geometryMappingSnippet
in class DDLCreator
featureMappingSnippet
protected void featureMappingSnippet(StringBuffer sql,
FeatureMapping mapping)
- Specified by:
featureMappingSnippet
in class DDLCreator
createJoinedTable
protected StringBuffer createJoinedTable(QTableName fromTable,
TableJoin jc,
List<StringBuffer> ddls)
- Specified by:
createJoinedTable
in class DDLCreator
getDBType
protected String getDBType(BaseType type)
- Specified by:
getDBType
in class DDLCreator
Copyright © 2011. All Rights Reserved.