com.alibaba.druid.sql.ast.statement
Class SQLCreateTableStatement

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
All Implemented Interfaces:
SQLObject, SQLStatement, SQLDDLStatement, Serializable
Direct Known Subclasses:
MySqlCreateTableStatement, OracleCreateTableStatement

public class SQLCreateTableStatement
extends SQLStatementImpl
implements SQLDDLStatement

See Also:
Serialized Form

Nested Class Summary
static class SQLCreateTableStatement.Type
           
 
Constructor Summary
SQLCreateTableStatement()
           
 
Method Summary
 SQLName getName()
           
 List<SQLTableElement> getTableElementList()
           
 SQLExprTableSource getTableSource()
           
 SQLCreateTableStatement.Type getType()
           
 void output(StringBuffer buf)
           
 void setName(SQLName name)
           
 void setTableSource(SQLExprTableSource tableSource)
           
 void setType(SQLCreateTableStatement.Type type)
           
 
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

SQLCreateTableStatement

public SQLCreateTableStatement()
Method Detail

getName

public SQLName getName()

setName

public void setName(SQLName name)

getTableSource

public SQLExprTableSource getTableSource()

setTableSource

public void setTableSource(SQLExprTableSource tableSource)

getType

public SQLCreateTableStatement.Type getType()

setType

public void setType(SQLCreateTableStatement.Type type)

getTableElementList

public List<SQLTableElement> getTableElementList()

output

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


Copyright © 2012 Alibaba Group. All Rights Reserved.