public class MySqlCreateTableStatement extends SQLCreateTableStatement implements MySqlStatement
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MySqlCreateTableStatement.TableSpaceOption |
SQLCreateTableStatement.Type| 限定符和类型 | 字段和说明 |
|---|---|
protected SQLName |
archiveBy |
protected SQLExpr |
dbPartitionBy |
protected SQLExpr |
dbPartitions |
protected List<SQLName> |
distributeBy |
protected SQLName |
distributeByType |
protected MySqlExtPartition |
exPartition |
protected boolean |
isBroadCast |
protected SQLName |
storedBy |
protected SQLExpr |
tablePartitionBy |
protected SQLExpr |
tablePartitions |
protected Map<String,SQLName> |
with |
protected Boolean |
withData |
buckets, clusteredBy, clusteringType, comment, compress, dimension, engine, external, ifNotExists, ignore, inherits, like, location, logging, onCommitDeleteRows, onCommitPreserveRows, partitionColumns, partitioning, replace, rowFormat, select, shards, sortedBy, storedAs, tableElementList, tableOptions, tableSource, tablespace, tblProperties, typeafterSemi, dbType, headHintsattributes, hint, parent, sourceColumn, sourceLine| 构造器和说明 |
|---|
MySqlCreateTableStatement() |
acceptChild, addBodyBeforeComment, addClusteredByItem, addColumn, addColumn, addOption, addPartitionColumn, addSortedByItem, addTblProperty, apply, apply, apply, cloneTo, columnIndexOf, computeName, containsDuplicateColumnNames, containsDuplicateColumnNames, findColumn, findColumn, findForeignKey, findIndex, findPrimaryKey, findUnique, forEachColumn, foreignKeyToAlterTable, getBodyBeforeCommentsDirect, getBuckets, getCatalog, getChildren, getClusteredBy, getClusteringType, getColumn, getColumnComments, getColumnDefinitions, getColumnNames, getComment, getCompress, getEngine, getInherits, getLike, getLocation, getLogging, getName, getOption, getOptionOrTblPropertyValue, getOptionValue, getPartitionColumns, getPartitioning, getPrimaryKeyNames, getRowFormat, getSchema, getSelect, getShards, getSortedBy, getStoredAs, getTableElementList, getTableName, getTableOptions, getTableSource, getTablespace, getTblProperties, getTblProperty, getTblPropertyValue, getType, hasBodyBeforeComment, hashForeignKey, isDimension, isExternal, isIfNotExists, isIgnore, isMUL, isOnCommitPreserveRows, isOnlyPrimaryKey, isPrimaryColumn, isPrimaryColumn, isReferenced, isReferenced, isReplace, isUNI, renameColumn, setBuckets, setClusteringType, setComment, setCompress, setDimension, setEngine, setExternal, setIfNotExiists, setIgnore, setInherits, setLike, setLike, setLocation, setLogging, setName, setName, setOnCommitPreserveRows, setPartitioning, setReplace, setRowFormat, setSchema, setSelect, setShards, setStoredAs, setTableName, setTableSource, setTablespace, setType, sort, toStringgetDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toUnformattedStringaccept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLinegetChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentprotected SQLExpr dbPartitionBy
protected SQLExpr dbPartitions
protected SQLExpr tablePartitionBy
protected SQLExpr tablePartitions
protected MySqlExtPartition exPartition
protected SQLName storedBy
protected SQLName distributeByType
protected boolean isBroadCast
protected SQLName archiveBy
protected Boolean withData
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(AdsOutputVisitor visitor)
public 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 setTableGroup(String tableGroup)
public void simplify()
simplify 在类中 SQLCreateTableStatementpublic void showCoumns(Appendable out) throws IOException
IOExceptionpublic List<MySqlTableIndex> getMysqlIndexes()
public 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 cloneTo(MySqlCreateTableStatement x)
public MySqlCreateTableStatement clone()
clone 在接口中 SQLObjectclone 在接口中 SQLStatementclone 在类中 SQLCreateTableStatementpublic SQLExpr getDbPartitionBy()
public void setDbPartitionBy(SQLExpr x)
public SQLExpr getTablePartitionBy()
public void setTablePartitionBy(SQLExpr x)
public SQLName getDistributeByType()
public void setDistributeByType(SQLName distributeByType)
public SQLExpr getTbpartitions()
public SQLExpr getTablePartitions()
public void setTablePartitions(SQLExpr x)
public SQLExpr getDbpartitions()
public void setDbPartitions(SQLExpr x)
public MySqlExtPartition getExtPartition()
public void setExPartition(MySqlExtPartition x)
public SQLExpr getDbPartitions()
public SQLName getStoredBy()
public void setStoredBy(SQLName storedBy)
public boolean isBroadCast()
public void setBroadCast(boolean broadCast)
public SQLName getArchiveBy()
public void setArchiveBy(SQLName archiveBy)
public Boolean getWithData()
public void setWithData(Boolean withData)
Copyright © 2013–2023. All rights reserved.