com.alibaba.druid.sql.dialect.postgresql.ast.stmt
Class PGTruncateStatement

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
              extended by com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGTruncateStatement
All Implemented Interfaces:
SQLObject, SQLStatement, PGSQLObject, PGSQLStatement, Serializable

public class PGTruncateStatement
extends SQLTruncateStatement
implements PGSQLStatement

See Also:
Serialized Form

Constructor Summary
PGTruncateStatement()
           
 
Method Summary
 void accept0(PGASTVisitor visitor)
           
 Boolean getCascade()
           
 Boolean getRestartIdentity()
           
 boolean isOnly()
           
 void setCascade(Boolean cascade)
           
 void setOnly(boolean only)
           
 void setRestartIdentity(Boolean restartIdentity)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTruncateStatement
addTableSource, getTableSources, setTableSources
 
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, output, putAttribute, setParent
 

Constructor Detail

PGTruncateStatement

public PGTruncateStatement()
Method Detail

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)

accept0

public void accept0(PGASTVisitor visitor)
Specified by:
accept0 in interface PGSQLObject


Copyright © 2012 Alibaba Group. All Rights Reserved.