Class SQLDeleteAllStatement

All Implemented Interfaces:
Serializable, Cloneable

public class SQLDeleteAllStatement extends SQLDeleteStatement

Purpose: Print DELETE statement with non trivial WHERE clause

Responsibilities:

  • Print DELETE statement.
Since:
TOPLink 10.1.3
See Also:
  • Field Details

    • inheritanceExpression

      protected Expression inheritanceExpression
    • selectCallForExist

      protected SQLCall selectCallForExist
    • tableAliasInSelectCallForExist

      protected String tableAliasInSelectCallForExist
    • selectCallForNotExist

      protected SQLCall selectCallForNotExist
    • tableAliasInSelectCallForNotExist

      protected String tableAliasInSelectCallForNotExist
    • aliasedFields

      protected Vector aliasedFields
    • originalFields

      protected Vector originalFields
    • shouldExtractWhereClauseFromSelectCallForExist

      protected boolean shouldExtractWhereClauseFromSelectCallForExist
  • Constructor Details

    • SQLDeleteAllStatement

      public SQLDeleteAllStatement()
  • Method Details

    • setSelectCallForExist

      public void setSelectCallForExist(SQLCall selectCallForExist)
    • getSelectCallForExist

      public SQLCall getSelectCallForExist()
    • setSelectCallForNotExist

      public void setSelectCallForNotExist(SQLCall selectCallForNotExist)
    • getSelectCallForNotExist

      public SQLCall getSelectCallForNotExist()
    • setTableAliasInSelectCallForExist

      public void setTableAliasInSelectCallForExist(String tableAliasInSelectCallForExist)
    • getTableAliasInSelectCallForExist

      public String getTableAliasInSelectCallForExist()
    • setTableAliasInSelectCallForNotExist

      public void setTableAliasInSelectCallForNotExist(String tableAliasInSelectCallForNotExist)
    • getTableAliasInSelectCallForNotExist

      public String getTableAliasInSelectCallForNotExist()
    • setPrimaryKeyFieldsForAutoJoin

      public void setPrimaryKeyFieldsForAutoJoin(Collection primaryKeyFields)
    • setOriginalFieldsForJoin

      public void setOriginalFieldsForJoin(Vector originalFields)
    • getOriginalFieldsForJoin

      public Vector getOriginalFieldsForJoin()
    • setAliasedFieldsForJoin

      public void setAliasedFieldsForJoin(Vector aliasedFields)
    • getAliasedFieldsForExpression

      public Vector getAliasedFieldsForExpression()
    • setInheritanceExpression

      public void setInheritanceExpression(Expression inheritanceExpression)
    • getInheritanceExpression

      public Expression getInheritanceExpression()
    • setShouldExtractWhereClauseFromSelectCallForExist

      public void setShouldExtractWhereClauseFromSelectCallForExist(boolean shouldExtractWhereClauseFromSelectCallForExist)
    • shouldExtractWhereClauseFromSelectCallForExist

      public boolean shouldExtractWhereClauseFromSelectCallForExist()
    • buildCall

      public DatabaseCall buildCall(AbstractSession session)
      Return SQL call for the statement, through generating the SQL string.
      Overrides:
      buildCall in class SQLDeleteStatement
    • writeSelect

      protected void writeSelect(Writer writer, SQLCall selectCall, String tableAliasInSelectCall, SQLCall call, DatasourcePlatform platform) throws IOException
      Throws:
      IOException
    • writeWhere

      protected boolean writeWhere(Writer writer, SQLCall selectCall, SQLCall call) throws IOException
      Throws:
      IOException