构造器和说明 |
---|
CreateTable() |
限定符和类型 | 方法和说明 |
---|---|
void |
accept(StatementVisitor statementVisitor) |
java.util.List<ColumnDefinition> |
getColumnDefinitions()
A list of
ColumnDefinition s of this table. |
java.util.List<java.lang.String> |
getCreateOptionsStrings() |
java.util.List<Index> |
getIndexes()
A list of
Index es (for example "PRIMARY KEY") of this table. |
Select |
getSelect() |
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")
|
boolean |
isIfNotExists() |
boolean |
isSelectParenthesis() |
boolean |
isUnlogged()
Whether the table is unlogged or not (PostgreSQL 9.1+ feature)
|
void |
setColumnDefinitions(java.util.List<ColumnDefinition> list) |
void |
setCreateOptionsStrings(java.util.List<java.lang.String> createOptionsStrings) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setIndexes(java.util.List<Index> list) |
void |
setSelect(Select select,
boolean parenthesis) |
void |
setSelectParenthesis(boolean selectParenthesis) |
void |
setTable(Table table) |
void |
setTableOptionsStrings(java.util.List<java.lang.String> list) |
void |
setUnlogged(boolean unlogged) |
java.lang.String |
toString() |
public void accept(StatementVisitor statementVisitor)
public Table getTable()
public void setTable(Table table)
public boolean isUnlogged()
public void setUnlogged(boolean unlogged)
public java.util.List<ColumnDefinition> getColumnDefinitions()
ColumnDefinition
s of this table.public void setColumnDefinitions(java.util.List<ColumnDefinition> list)
public java.util.List<?> getTableOptionsStrings()
public void setTableOptionsStrings(java.util.List<java.lang.String> list)
public java.util.List<java.lang.String> getCreateOptionsStrings()
public void setCreateOptionsStrings(java.util.List<java.lang.String> createOptionsStrings)
public java.util.List<Index> getIndexes()
Index
es (for example "PRIMARY KEY") of this table.public void setIndexes(java.util.List<Index> list)
public Select getSelect()
public void setSelect(Select select, boolean parenthesis)
public boolean isIfNotExists()
public void setIfNotExists(boolean ifNotExists)
public boolean isSelectParenthesis()
public void setSelectParenthesis(boolean selectParenthesis)
public java.lang.String toString()
toString
在类中 java.lang.Object