接口 Statement
-
- 所有已知子接口:
RestrictableStatement
- 所有已知实现类:
AbstractRestrictableStatement,AbstractStatement,DeleteStatement,InsertStatement,QueryNode,UpdateStatement
public interface StatementCommon interface modeling the different HQL statements (i.e., INSERT, UPDATE, DELETE, SELECT).- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 intgetStatementType()Return the main token type representing the type of this statement.HqlSqlWalkergetWalker()Retrieve the "phase 2" walker which generated this statement tree.booleanneedsExecutor()Does this statement require the StatementExecutor?
-
-
-
方法详细资料
-
getWalker
HqlSqlWalker getWalker()
Retrieve the "phase 2" walker which generated this statement tree.- 返回:
- The HqlSqlWalker instance which generated this statement tree.
-
getStatementType
int getStatementType()
Return the main token type representing the type of this statement.- 返回:
- The corresponding token type.
-
needsExecutor
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.
-
-