org.deegree.tools.datastore
Class OracleDDLGenerator
java.lang.Object
org.deegree.tools.datastore.DDLGenerator
org.deegree.tools.datastore.OracleDDLGenerator
public class OracleDDLGenerator
- extends DDLGenerator
Generator for Oracle DDL (CREATE / DROP) operations to create Oracle database schemas from annotated GML schema
files.
- Version:
- $Revision: 8252 $, $Date: 2007-10-05 11:54:33 +0200 (Fr, 05 Okt 2007) $
- Author:
- Markus Schneider, last edited by: $Author: aschmitz $
Constructor Summary |
OracleDDLGenerator(URL schemaURL)
Generates a new instance of OracleDDLGenerator , ready to generate DDL for the given schema. |
idToTruncatedId
Map<String,String> idToTruncatedId
currentId
int currentId
OracleDDLGenerator
public OracleDDLGenerator(URL schemaURL)
throws MalformedURLException,
IOException,
SAXException,
XMLParsingException,
XMLSchemaException,
UnknownCRSException
- Generates a new instance of
OracleDDLGenerator
, ready to generate DDL for the given schema.
- Parameters:
schemaURL
-
- Throws:
MalformedURLException
IOException
SAXException
XMLParsingException
XMLSchemaException
UnknownCRSException
generateDropTableStmt
protected StringBuffer generateDropTableStmt(DDLGenerator.TableDefinition table)
- Description copied from class:
DDLGenerator
- Generates the DDL statements necessary for the removal of the given table definition. May be
overwritten by a concrete implementation.
- Overrides:
generateDropTableStmt
in class DDLGenerator
- Returns:
- the DDL statements necessary for the removal of the given table definition
generateCreateTableStmt
protected StringBuffer generateCreateTableStmt(DDLGenerator.TableDefinition table)
- Description copied from class:
DDLGenerator
- Generates the DDL statements necessary for the creation of the given table definition. Must
be overwritten by the concrete implementation.
- Specified by:
generateCreateTableStmt
in class DDLGenerator
- Returns:
- the DDL statements necessary for the creation of the given table definition
generateCreateIndexStmts
protected StringBuffer generateCreateIndexStmts(DDLGenerator.TableDefinition table)
- Description copied from class:
DDLGenerator
- Generates the DDL statements necessary for the creation of standard indexes for the given
table definition. Must be overwritten by the concrete implementation.
- Specified by:
generateCreateIndexStmts
in class DDLGenerator
- Returns:
- the DDL statements necessary for the creation of standard indexes for the given table
definition
generateDropIndexStmts
protected StringBuffer generateDropIndexStmts(DDLGenerator.TableDefinition table)
- Description copied from class:
DDLGenerator
- Generates the DDL statements necessary for the dropping of standard indexes for the given
table definition. May be overwritten by a concrete implementation.
- Overrides:
generateDropIndexStmts
in class DDLGenerator
- Returns:
- the DDL statements necessary for the dropping of standard indexes for the given table
definition
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net