Class SQLDropTableStatement

All Implemented Interfaces:
SQLDbTypedObject, SQLObject, SQLStatement, SQLDDLStatement, SQLDropStatement

public class SQLDropTableStatement extends SQLStatementImpl implements SQLDropStatement
  • Field Details

    • tableSources

      protected List<SQLExprTableSource> tableSources
    • purge

      protected boolean purge
    • cascade

      protected boolean cascade
    • restrict

      protected boolean restrict
    • ifExists

      protected boolean ifExists
  • Constructor Details

    • SQLDropTableStatement

      public SQLDropTableStatement()
    • SQLDropTableStatement

      public SQLDropTableStatement(DbType dbType)
    • SQLDropTableStatement

      public SQLDropTableStatement(SQLName name, DbType dbType)
    • SQLDropTableStatement

      public SQLDropTableStatement(SQLName name)
    • SQLDropTableStatement

      public SQLDropTableStatement(SQLExprTableSource tableSource)
    • SQLDropTableStatement

      public SQLDropTableStatement(SQLExprTableSource tableSource, DbType dbType)
  • Method Details

    • getTableSources

      public List<SQLExprTableSource> getTableSources()
    • addPartition

      public void addPartition(SQLExprTableSource tableSource)
    • setName

      public void setName(SQLName name)
    • addTableSource

      public void addTableSource(SQLName name)
    • addTableSource

      public void addTableSource(SQLExprTableSource tableSource)
    • accept0

      protected void accept0(SQLASTVisitor visitor)
      Overrides:
      accept0 in class SQLStatementImpl
    • getChildren

      public List getChildren()
      Specified by:
      getChildren in interface SQLStatement
      Overrides:
      getChildren in class SQLStatementImpl
    • isPurge

      public boolean isPurge()
    • setPurge

      public void setPurge(boolean purge)
    • isIfExists

      public boolean isIfExists()
    • setIfExists

      public void setIfExists(boolean ifExists)
    • isCascade

      public boolean isCascade()
    • setCascade

      public void setCascade(boolean cascade)
    • isRestrict

      public boolean isRestrict()
    • setRestrict

      public void setRestrict(boolean restrict)
    • isTemporary

      public boolean isTemporary()
    • setTemporary

      public void setTemporary(boolean temporary)
    • isExternal

      public boolean isExternal()
    • setExternal

      public void setExternal(boolean external)
    • getHints

      public List<SQLCommentHint> getHints()
    • setHints

      public void setHints(List<SQLCommentHint> hints)
    • isDropPartition

      public boolean isDropPartition()
    • setDropPartition

      public void setDropPartition(boolean dropPartition)
    • getWhere

      public SQLExpr getWhere()
    • setWhere

      public void setWhere(SQLExpr x)