Top Description Methods
org.hibernate.hql.internal.ast.tree

public Interface Statement

Known Direct Subinterfaces
org.hibernate.hql.internal.ast.tree.RestrictableStatement
Known Direct Implementers
org.hibernate.hql.internal.ast.tree.AbstractStatement
Imports
org.hibernate.hql.internal.ast.HqlSqlWalker

Common interface modeling the different HQL statements (i.e., INSERT, UPDATE, DELETE, SELECT).
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The corresponding token type.
getStatementType
()

Return the main token type representing the type of this statement.

public HqlSqlWalker

Returns:

The HqlSqlWalker instance which generated this statement tree.
getWalker
()

Retrieve the "phase 2" walker which generated this statement tree.

public boolean

Returns:

True if this statement should be handed off to the StatementExecutor to be executed; false otherwise.
needsExecutor
()

Does this statement require the StatementExecutor?

Method Detail

getStatementTypeback to summary
public int getStatementType()

Return the main token type representing the type of this statement.

Returns:int

The corresponding token type.

getWalkerback to summary
public HqlSqlWalker getWalker()

Retrieve the "phase 2" walker which generated this statement tree.

Returns:HqlSqlWalker

The HqlSqlWalker instance which generated this statement tree.

needsExecutorback to summary
public boolean needsExecutor()

Does this statement require the StatementExecutor?

Essentially, at the JDBC level, does this require an executeUpdate()?
Returns:boolean

True if this statement should be handed off to the StatementExecutor to be executed; false otherwise.