Constructor and Description |
---|
CreateTable() |
Modifier and Type | Method and Description |
---|---|
void |
accept(StatementVisitor statementVisitor) |
List<ColumnDefinition> |
getColumnDefinitions()
A list of
ColumnDefinition s of this table. |
List<Index> |
getIndexes()
A list of
Index es (for example "PRIMARY KEY") of this table.Indexes created with column definitions (as in mycol INT PRIMARY KEY) are not inserted into this list. |
Table |
getTable()
The name of the table to be created
|
List<?> |
getTableOptionsStrings()
A list of options (as simple strings) of this table definition, as
("TYPE", "=", "MYISAM")
|
void |
setColumnDefinitions(List<ColumnDefinition> list) |
void |
setIndexes(List<Index> list) |
void |
setTable(Table table) |
void |
setTableOptionsStrings(List<String> list) |
String |
toString() |
public void accept(StatementVisitor statementVisitor)
public Table getTable()
public void setTable(Table table)
public List<ColumnDefinition> getColumnDefinitions()
ColumnDefinition
s of this table.public void setColumnDefinitions(List<ColumnDefinition> list)
public List<?> getTableOptionsStrings()
public List<Index> getIndexes()
Index
es (for example "PRIMARY KEY") of this table.Copyright © 2013. All Rights Reserved.