public class MySqlCreateTableStatement extends SQLCreateTableStatement implements MySqlStatement
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MySqlCreateTableStatement.TableSpaceOption |
SQLCreateTableStatement.Type| 限定符和类型 | 字段和说明 |
|---|---|
protected SQLPartitionBy |
dbPartitionBy |
private List<SQLCommentHint> |
hints |
private List<SQLCommentHint> |
optionHints |
private SQLName |
tableGroup |
private Map<String,SQLObject> |
tableOptions |
protected SQLPartitionBy |
tablePartitionBy |
protected SQLExpr |
tbpartitions |
buckets, clusteredBy, comment, compress, ifNotExiists, inherits, like, logging, onCommitDeleteRows, onCommitPreserveRows, partitionColumns, partitioning, rowFormat, select, sortedBy, storedAs, tableElementList, tableSource, tablespace, typeafterSemi, dbType, headHintsattributes, parent| 构造器和说明 |
|---|
MySqlCreateTableStatement() |
addBodyBeforeComment, addClusteredByItem, addPartitionColumn, addSortedByItem, apply, apply, apply, cloneTo, columnIndexOf, computeName, findColumn, findColumn, findForeignKey, findIndex, findPrimaryKey, findUnique, forEachColumn, foreignKeyToAlterTable, getBodyBeforeCommentsDirect, getBuckets, getChildren, getClusteredBy, getComment, getCompress, getInherits, getLike, getLogging, getName, getPartitionColumns, getPartitioning, getRowFormat, getSchema, getSelect, getSortedBy, getStoredAs, getTableElementList, getTableOptions, getTableSource, getTablespace, getType, hasBodyBeforeComment, hashForeignKey, isIfNotExiists, isMUL, isOnCommitPreserveRows, isPrimaryColumn, isPrimaryColumn, isReferenced, isReferenced, isUNI, renameColumn, setBuckets, setComment, setCompress, setIfNotExiists, setInherits, setLike, setLike, setLogging, setName, setName, setOnCommitPreserveRows, setPartitioning, setRowFormat, setSchema, setSelect, setStoredAs, setTableSource, setTablespace, setType, sort, toStringgetDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseStringaccept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentgetChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentprivate List<SQLCommentHint> hints
private List<SQLCommentHint> optionHints
private SQLName tableGroup
protected SQLPartitionBy dbPartitionBy
protected SQLPartitionBy tablePartitionBy
protected SQLExpr tbpartitions
public List<SQLCommentHint> getHints()
public void setHints(List<SQLCommentHint> hints)
@Deprecated public SQLSelect getQuery()
@Deprecated public void setQuery(SQLSelect query)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLCreateTableStatementpublic void accept0(MySqlASTVisitor visitor)
accept0 在接口中 MySqlObjectpublic List<SQLCommentHint> getOptionHints()
public void setOptionHints(List<SQLCommentHint> optionHints)
public SQLName getTableGroup()
public void setTableGroup(SQLName tableGroup)
public void simplify()
simplify 在类中 SQLCreateTableStatementpublic void showCoumns(Appendable out) throws IOException
IOExceptionpublic boolean apply(MySqlRenameTableStatement x)
protected boolean alterApply(SQLAlterTableItem item)
alterApply 在类中 SQLCreateTableStatementpublic boolean apply(SQLAlterTableAddIndex item)
apply 在类中 SQLCreateTableStatementpublic boolean apply(MySqlAlterTableOption item)
public boolean apply(SQLAlterCharacter item)
public boolean apply(MySqlRenameTableStatement.Item item)
public boolean apply(MySqlAlterTableAlterColumn x)
public boolean apply(MySqlAlterTableChangeColumn item)
public boolean apply(MySqlAlterTableModifyColumn item)
public void output(StringBuffer buf)
output 在接口中 SQLObjectoutput 在类中 SQLObjectImplpublic void cloneTo(MySqlCreateTableStatement x)
public MySqlCreateTableStatement clone()
clone 在接口中 SQLObjectclone 在接口中 SQLStatementclone 在类中 SQLCreateTableStatementpublic SQLPartitionBy getDbPartitionBy()
public void setDbPartitionBy(SQLPartitionBy x)
public SQLPartitionBy getTablePartitionBy()
public void setTablePartitionBy(SQLPartitionBy x)
public SQLExpr getTbpartitions()
public void setTbpartitions(SQLExpr x)
Copyright © 2013–2019 Alibaba Group. All rights reserved.