Package org.hibernate.hql.ast.tree
Class DeleteStatement
- All Implemented Interfaces:
antlr.collections.AST,Serializable,DisplayableNode,InitializeableNode,RestrictableStatement,Statement
Defines a top-level AST node representing an HQL delete statement.
- See Also:
-
Field Summary
Fields inherited from class antlr.BaseAST
down, right -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.hibernate.hql.ast.tree.AbstractRestrictableStatement
getFromClause, getWhereClause, hasWhereClause, locateWhereClauseMethods inherited from class org.hibernate.hql.ast.tree.AbstractStatement
getDisplayTextMethods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializeMethods inherited from class org.hibernate.hql.ast.tree.SqlNode
getDataType, getOriginalText, setDataType, setTextMethods inherited from class org.hibernate.hql.ast.tree.Node
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initializeMethods inherited from class antlr.CommonAST
getText, getType, initialize, setTypeMethods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
-
Constructor Details
-
DeleteStatement
public DeleteStatement()
-
-
Method Details
-
getStatementType
public int getStatementType()Description copied from interface:StatementReturn 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:StatementDoes 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:
getWhereClauseParentTokenTypein classAbstractRestrictableStatement
-
getLog
- Specified by:
getLogin classAbstractRestrictableStatement
-