Package net.ontopia.persistence.rdbms
Class MySqlSQLProducer
- java.lang.Object
-
- net.ontopia.persistence.rdbms.GenericSQLProducer
-
- net.ontopia.persistence.rdbms.MySqlSQLProducer
-
public class MySqlSQLProducer extends GenericSQLProducer
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
Constructors Constructor Description MySqlSQLProducer(Project project)
MySqlSQLProducer(Project project, String[] platforms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
createIndexes(Table table, List<String> statements)
INTERNAL: Generate the DDL statement(s) to create indexes for the specified table.protected List<String>
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
-
-
-
-
Method Detail
-
createStatement
protected List<String> createStatement(Table table, List<String> statements) throws IOException
Description copied from class:GenericSQLProducer
INTERNAL: Generate the DDL statement(s) to create the specified table.- Overrides:
createStatement
in classGenericSQLProducer
- Throws:
IOException
-
createIndexes
protected List<String> createIndexes(Table table, List<String> statements) throws IOException
INTERNAL: Generate the DDL statement(s) to create indexes for the specified table.- Overrides:
createIndexes
in classGenericSQLProducer
- Throws:
IOException
-
-