org.hibernate.hql.ast.tree
Interface Statement
- RestrictableStatement
- AbstractRestrictableStatement, AbstractStatement, DeleteStatement, InsertStatement, QueryNode, UpdateStatement
public interface Statement
Common interface modeling the different HQL statements (i.e., INSERT, UPDATE, DELETE, SELECT).
int | getStatementType() - Return the main token type representing the type of this statement.
|
HqlSqlWalker | getWalker() - Retreive the "phase 2" walker which generated this statement tree.
|
boolean | needsExecutor() - Does this statement require the StatementExecutor?
Essentially, at the JDBC level, does this require an executeUpdate()?
|
getStatementType
public int getStatementType()
Return the main token type representing the type of this statement.
- The corresponding token type.
getWalker
public HqlSqlWalker getWalker()
Retreive the "phase 2" walker which generated this statement tree.
- The HqlSqlWalker instance which generated this statement tree.
needsExecutor
public boolean needsExecutor()
Does this statement require the StatementExecutor?
Essentially, at the JDBC level, does this require an executeUpdate()?
- True if this statement should be handed off to the
StatementExecutor to be executed; false otherwise.