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

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.SQLTruncateStatement
All Implemented Interfaces:
SQLObject, SQLStatement, Serializable
Direct Known Subclasses:
OracleTruncateStatement, PGTruncateStatement

public class SQLTruncateStatement
extends SQLStatementImpl

See Also:
Serialized Form

Constructor Summary
SQLTruncateStatement()
           
 
Method Summary
 void addTableSource(SQLName name)
           
 List<SQLExprTableSource> getTableSources()
           
 void setTableSources(List<SQLExprTableSource> tableSources)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
output
 
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

SQLTruncateStatement

public SQLTruncateStatement()
Method Detail

getTableSources

public List<SQLExprTableSource> getTableSources()

setTableSources

public void setTableSources(List<SQLExprTableSource> tableSources)

addTableSource

public void addTableSource(SQLName name)


Copyright © 2012 Alibaba Group. All Rights Reserved.