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

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.SQLUpdateStatement
All Implemented Interfaces:
SQLObject, SQLStatement, Serializable
Direct Known Subclasses:
MySqlUpdateStatement, OracleUpdateStatement, PGUpdateStatement

public class SQLUpdateStatement
extends SQLStatementImpl

See Also:
Serialized Form

Constructor Summary
SQLUpdateStatement()
           
 
Method Summary
 List<SQLUpdateSetItem> getItems()
           
 SQLName getTableName()
           
 SQLTableSource getTableSource()
           
 SQLExpr getWhere()
           
 void output(StringBuffer buf)
           
 void setTableSource(SQLExpr expr)
           
 void setTableSource(SQLTableSource tableSource)
           
 void setWhere(SQLExpr where)
           
 
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

SQLUpdateStatement

public SQLUpdateStatement()
Method Detail

getTableSource

public SQLTableSource getTableSource()

setTableSource

public void setTableSource(SQLExpr expr)

setTableSource

public void setTableSource(SQLTableSource tableSource)

getTableName

public SQLName getTableName()

getWhere

public SQLExpr getWhere()

setWhere

public void setWhere(SQLExpr where)

getItems

public List<SQLUpdateSetItem> getItems()

output

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


Copyright © 2012 Alibaba Group. All Rights Reserved.