Class DeleteStatement

All Implemented Interfaces:
antlr.collections.AST, Serializable, DisplayableNode, InitializeableNode, RestrictableStatement, Statement

public class DeleteStatement extends AbstractRestrictableStatement
Defines a top-level AST node representing an HQL delete statement.
See Also:
  • Constructor Details

    • DeleteStatement

      public DeleteStatement()
  • Method Details

    • getStatementType

      public int getStatementType()
      Description copied from interface: Statement
      Return the main token type representing the type of this statement.
      Returns:
      The corresponding token type.
      See Also:
    • needsExecutor

      public boolean needsExecutor()
      Description copied from interface: Statement
      Does this statement require the StatementExecutor?

      Essentially, at the JDBC level, does this require an executeUpdate()?
      Returns:
      True if this statement should be handed off to the StatementExecutor to be executed; false otherwise.
      See Also:
    • getWhereClauseParentTokenType

      protected int getWhereClauseParentTokenType()
      Specified by:
      getWhereClauseParentTokenType in class AbstractRestrictableStatement
    • getLog

      protected Logger getLog()
      Specified by:
      getLog in class AbstractRestrictableStatement