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

java.lang.Object
  继承者 com.alibaba.druid.sql.ast.SQLObjectImpl
      继承者 com.alibaba.druid.sql.ast.SQLStatementImpl
          继承者 com.alibaba.druid.sql.ast.statement.SQLTruncateStatement
所有已实现的接口:
SQLObject, SQLStatement

public class SQLTruncateStatement
extends SQLStatementImpl


构造方法摘要
SQLTruncateStatement()
           
 
方法摘要
 void addTableSource(SQLName name)
           
 Boolean getCascade()
           
 Boolean getRestartIdentity()
           
 List<SQLExprTableSource> getTableSources()
           
 boolean isOnly()
           
 boolean isPurgeSnapshotLog()
           
 void setCascade(Boolean cascade)
           
 void setOnly(boolean only)
           
 void setPurgeSnapshotLog(boolean purgeSnapshotLog)
           
 void setRestartIdentity(Boolean restartIdentity)
           
 void setTableSources(List<SQLExprTableSource> tableSources)
           
 
从类 com.alibaba.druid.sql.ast.SQLStatementImpl 继承的方法
toString
 
从类 com.alibaba.druid.sql.ast.SQLObjectImpl 继承的方法
accept, getAttribute, getAttributes, getAttributesDirect, getParent, output, putAttribute, setParent
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 com.alibaba.druid.sql.ast.SQLObject 继承的方法
accept, getAttribute, getAttributes, getAttributesDirect, getParent, output, putAttribute, setParent
 

构造方法详细信息

SQLTruncateStatement

public SQLTruncateStatement()
方法详细信息

getTableSources

public List<SQLExprTableSource> getTableSources()

setTableSources

public void setTableSources(List<SQLExprTableSource> tableSources)

addTableSource

public void addTableSource(SQLName name)

isPurgeSnapshotLog

public boolean isPurgeSnapshotLog()

setPurgeSnapshotLog

public void setPurgeSnapshotLog(boolean purgeSnapshotLog)

isOnly

public boolean isOnly()

setOnly

public void setOnly(boolean only)

getRestartIdentity

public Boolean getRestartIdentity()

setRestartIdentity

public void setRestartIdentity(Boolean restartIdentity)

getCascade

public Boolean getCascade()

setCascade

public void setCascade(Boolean cascade)


Copyright © 2013-2014 Alibaba Group. All Rights Reserved.