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

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.SQLCreateViewStatement
All Implemented Interfaces:
SQLObject, SQLStatement, SQLDDLStatement, Serializable

public class SQLCreateViewStatement
extends SQLStatementImpl
implements SQLDDLStatement

See Also:
Serialized Form

Nested Class Summary
static class SQLCreateViewStatement.Level
           
 
Constructor Summary
SQLCreateViewStatement()
           
 
Method Summary
 List<SQLExpr> getColumns()
           
 SQLName getName()
           
 SQLSelect getSubQuery()
           
 SQLCreateViewStatement.Level getWith()
           
 void output(StringBuffer buf)
           
 void setName(SQLName name)
           
 void setSubQuery(SQLSelect subQuery)
           
 void setWith(SQLCreateViewStatement.Level with)
           
 
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

SQLCreateViewStatement

public SQLCreateViewStatement()
Method Detail

getName

public SQLName getName()

setName

public void setName(SQLName name)

getWith

public SQLCreateViewStatement.Level getWith()

setWith

public void setWith(SQLCreateViewStatement.Level with)

getSubQuery

public SQLSelect getSubQuery()

setSubQuery

public void setSubQuery(SQLSelect subQuery)

getColumns

public List<SQLExpr> getColumns()

output

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


Copyright © 2012 Alibaba Group. All Rights Reserved.