public class SQLCreateTableStatement extends SQLStatementImpl implements SQLDDLStatement
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLCreateTableStatement.Type |
| Constructor and Description |
|---|
SQLCreateTableStatement() |
SQLCreateTableStatement(String dbType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBodyBeforeComment(List<String> comments) |
String |
computeName() |
SQLColumnDefinition |
findColumn(String columName) |
SQLTableElement |
findIndex(String columnName) |
void |
forEachColumn(Consumer<SQLColumnDefinition> columnConsumer) |
List<String> |
getBodyBeforeCommentsDirect() |
SQLExprTableSource |
getInherits() |
SQLName |
getName() |
SQLSelect |
getSelect() |
List<SQLTableElement> |
getTableElementList() |
SQLExprTableSource |
getTableSource() |
SQLCreateTableStatement.Type |
getType() |
boolean |
hasBodyBeforeComment() |
boolean |
isIfNotExiists() |
void |
setIfNotExiists(boolean ifNotExiists) |
void |
setInherits(SQLExprTableSource inherits) |
void |
setName(SQLName name) |
void |
setSelect(SQLSelect select) |
void |
setTableSource(SQLExprTableSource tableSource) |
void |
setType(SQLCreateTableStatement.Type type) |
getDbType, isAfterSemi, setAfterSemi, setDbType, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDbType, isAfterSemi, setAfterSemiaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic SQLCreateTableStatement()
public SQLCreateTableStatement(String dbType)
public SQLName getName()
public void setName(SQLName name)
public SQLExprTableSource getTableSource()
public void setTableSource(SQLExprTableSource tableSource)
public SQLCreateTableStatement.Type getType()
public void setType(SQLCreateTableStatement.Type type)
public List<SQLTableElement> getTableElementList()
public boolean isIfNotExiists()
public void setIfNotExiists(boolean ifNotExiists)
public SQLExprTableSource getInherits()
public void setInherits(SQLExprTableSource inherits)
public SQLSelect getSelect()
public void setSelect(SQLSelect select)
public boolean hasBodyBeforeComment()
public String computeName()
public SQLColumnDefinition findColumn(String columName)
public SQLTableElement findIndex(String columnName)
public void forEachColumn(Consumer<SQLColumnDefinition> columnConsumer)
Copyright © 2013–2017 Alibaba Group. All rights reserved.