|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jsqlparser.statement.create.table.CreateTable
public class CreateTable
A "CREATE TABLE" statement
Field Summary | |
---|---|
private java.util.List |
columnDefinitions
|
private java.util.List |
indexes
|
private Table |
table
|
private java.util.List |
tableOptionsStrings
|
Constructor Summary | |
---|---|
CreateTable()
|
Method Summary | |
---|---|
void |
accept(StatementVisitor statementVisitor)
|
java.util.List |
getColumnDefinitions()
A list of ColumnDefinition s of this table. |
java.util.List |
getIndexes()
A list of Index es (for example "PRIMARY KEY") of this table. |
Table |
getTable()
The name of the table to be created |
java.util.List |
getTableOptionsStrings()
A list of options (as simple strings) of this table definition, as ("TYPE", "=", "MYISAM") |
void |
setColumnDefinitions(java.util.List list)
|
void |
setIndexes(java.util.List list)
|
void |
setTable(Table table)
|
void |
setTableOptionsStrings(java.util.List list)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Table table
private java.util.List tableOptionsStrings
private java.util.List columnDefinitions
private java.util.List indexes
Constructor Detail |
---|
public CreateTable()
Method Detail |
---|
public void accept(StatementVisitor statementVisitor)
accept
in interface Statement
public Table getTable()
public void setTable(Table table)
public java.util.List getColumnDefinitions()
ColumnDefinition
s of this table.
public void setColumnDefinitions(java.util.List list)
public java.util.List getTableOptionsStrings()
public void setTableOptionsStrings(java.util.List list)
public java.util.List getIndexes()
Index
es (for example "PRIMARY KEY") of this table.
public void setIndexes(java.util.List list)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |