CreateSchemaSqlCollector
public class CreateSchemaSqlCollector
Constructor Summary | |
---|---|
CreateSchemaSqlCollector(AbstractPlatform platform) |
Method Summary | |
---|---|
void | acceptColumn(mixed table, mixed column) |
void | acceptForeignKey(Table localTable, ForeignKeyConstraint fkConstraint) |
void | acceptIndex(Table table, Index index) |
void | acceptSchema(Schema schema) |
void | acceptSequence(Sequence sequence) |
void | acceptTable(Table table) Generate DDL Statements to create the accepted table with all its dependencies. |
array | Get all queries collected so far. |
array |
public CreateSchemaSqlCollector(AbstractPlatform platform)
public void acceptColumn(mixed table, mixed column)
public void acceptForeignKey(Table localTable, ForeignKeyConstraint fkConstraint)
public void acceptIndex(Table table, Index index)
public void acceptSchema(Schema schema)
public void acceptSequence(Sequence sequence)
public void acceptTable(Table table)
Generate DDL Statements to create the accepted table with all its dependencies.
public array getQueries()
Get all queries collected so far.
public array resetQueries()