|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.tools.datastore.DDLGenerator org.deegree.tools.datastore.PostGISDDLGenerator
public class PostGISDDLGenerator
Generator for PostGIS DDL (CREATE / DROP) operations to create PostGIS database schemas from annotated GML schema files.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.deegree.tools.datastore.DDLGenerator |
---|
DDLGenerator.ColumnDefinition, DDLGenerator.TableDefinition |
Field Summary |
---|
Fields inherited from class org.deegree.tools.datastore.DDLGenerator |
---|
FEATURE_TYPE_TABLE, FT_PREFIX, JOIN_TABLE, MULTI_PROPERTY_TABLE, schema, sequences, tables |
Constructor Summary | |
---|---|
PostGISDDLGenerator(java.net.URL schemaURL)
Generates a new instance of PostGISDDLGenerator , ready to generate DDL for the given schema. |
Method Summary | |
---|---|
protected java.lang.StringBuffer |
generateCreateIndexStmts(DDLGenerator.TableDefinition table)
Generates the DDL statements necessary for the creation of standard indexes for the given table definition. |
protected java.lang.StringBuffer |
generateCreateTableStmt(DDLGenerator.TableDefinition table)
Generates the DDL statements necessary for the creation of the given table definition. |
protected java.lang.StringBuffer |
generateDropTableStmt(DDLGenerator.TableDefinition table)
Generates the DDL statements necessary for the removal of the given table definition. |
protected java.lang.StringBuffer |
generateSetSchemaStmt(java.lang.String dbSchema)
Generates the SQL statements necessary for setting the schema search path. |
Methods inherited from class org.deegree.tools.datastore.DDLGenerator |
---|
generateCreateSchemaStmts, generateCreateScript, generateCreateScript, generateCreateSequenceStmt, generateDropIndexStmts, generateDropSchemaStmt, generateDropScript, generateDropSequenceStmt, getTables, main, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PostGISDDLGenerator(java.net.URL schemaURL) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException, XMLParsingException, XMLSchemaException, UnknownCRSException
PostGISDDLGenerator
, ready to generate DDL for the given schema.
schemaURL
-
java.net.MalformedURLException
java.io.IOException
org.xml.sax.SAXException
XMLParsingException
XMLSchemaException
UnknownCRSException
Method Detail |
---|
protected java.lang.StringBuffer generateSetSchemaStmt(java.lang.String dbSchema)
DDLGenerator
generateSetSchemaStmt
in class DDLGenerator
protected java.lang.StringBuffer generateCreateTableStmt(DDLGenerator.TableDefinition table)
DDLGenerator
generateCreateTableStmt
in class DDLGenerator
protected java.lang.StringBuffer generateCreateIndexStmts(DDLGenerator.TableDefinition table)
DDLGenerator
generateCreateIndexStmts
in class DDLGenerator
protected java.lang.StringBuffer generateDropTableStmt(DDLGenerator.TableDefinition table)
DDLGenerator
generateDropTableStmt
in class DDLGenerator
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org