Package net.ontopia.persistence.rdbms
Class MySqlSQLProducer
java.lang.Object
net.ontopia.persistence.rdbms.GenericSQLProducer
net.ontopia.persistence.rdbms.MySqlSQLProducer
INTERNAL: Class that generates DDL statements for the mysql
database platform.
-
Field Summary
Fields inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
platforms, project -
Constructor Summary
ConstructorsConstructorDescriptionMySqlSQLProducer(Project project) MySqlSQLProducer(Project project, String[] platforms) -
Method Summary
Modifier and TypeMethodDescriptioncreateIndexes(Table table, List<String> statements) INTERNAL: Generate the DDL statement(s) to create indexes for the specified table.createStatement(Table table, List<String> statements) INTERNAL: Generate the DDL statement(s) to create the specified table.Methods inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
addForeignKey, addPrimaryKeys, dropConstraint, dropStatement, executeCreate, executeDrop, executeStatements, getIndexName, getPrimaryKeyName, outputStatements, supportsForeignKeys, supportsNullInColumnDefinition, writeCreate, writeDrop
-
Constructor Details
-
MySqlSQLProducer
-
MySqlSQLProducer
-
-
Method Details
-
createStatement
Description copied from class:GenericSQLProducerINTERNAL: Generate the DDL statement(s) to create the specified table.- Overrides:
createStatementin classGenericSQLProducer- Throws:
IOException
-
createIndexes
INTERNAL: Generate the DDL statement(s) to create indexes for the specified table.- Overrides:
createIndexesin classGenericSQLProducer- Throws:
IOException
-