com.alibaba.druid.sql.dialect.mysql.ast.statement
Class MySqlCreateTableStatement

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.SQLStatementImpl
          extended by com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
              extended by com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement
All Implemented Interfaces:
SQLObject, SQLStatement, SQLDDLStatement, MySqlObject, MySqlStatement, Serializable

public class MySqlCreateTableStatement
extends SQLCreateTableStatement
implements MySqlStatement

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
SQLCreateTableStatement.Type
 
Constructor Summary
MySqlCreateTableStatement()
           
 
Method Summary
 void accept0(MySqlASTVisitor visitor)
           
 List<SQLCommentHint> getHints()
           
 SQLPartitioningClause getPartitioning()
           
 SQLSelect getQuery()
           
 Map<String,String> getTableOptions()
           
 boolean isIfNotExiists()
           
 void output(StringBuffer buf)
           
 void setHints(List<SQLCommentHint> hints)
           
 void setIfNotExiists(boolean ifNotExiists)
           
 void setPartitioning(SQLPartitioningClause partitioning)
           
 void setQuery(SQLSelect query)
           
 void setTableOptions(Map<String,String> tableOptions)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
getName, getTableElementList, getTableSource, getType, setName, setTableSource, setType
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent
 

Constructor Detail

MySqlCreateTableStatement

public MySqlCreateTableStatement()
Method Detail

getHints

public List<SQLCommentHint> getHints()

setHints

public void setHints(List<SQLCommentHint> hints)

setTableOptions

public void setTableOptions(Map<String,String> tableOptions)

getPartitioning

public SQLPartitioningClause getPartitioning()

setPartitioning

public void setPartitioning(SQLPartitioningClause partitioning)

getTableOptions

public Map<String,String> getTableOptions()

getQuery

public SQLSelect getQuery()

setQuery

public void setQuery(SQLSelect query)

output

public void output(StringBuffer buf)
Specified by:
output in interface SQLObject
Overrides:
output in class SQLCreateTableStatement

isIfNotExiists

public boolean isIfNotExiists()

setIfNotExiists

public void setIfNotExiists(boolean ifNotExiists)

accept0

public void accept0(MySqlASTVisitor visitor)
Specified by:
accept0 in interface MySqlObject


Copyright © 2012 Alibaba Group. All Rights Reserved.