接口 RestrictableStatement
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 FromClausegetFromClause()Retrieve the from-clause in effect for this statement.antlr.collections.ASTgetWhereClause()Retrieve the where-clause defining the restriction(s) in effect for this statement.booleanhasWhereClause()Does this statement tree currently contain a where clause?-
从接口继承的方法 org.hibernate.hql.internal.ast.tree.Statement
getStatementType, getWalker, needsExecutor
-
-
-
-
方法详细资料
-
getFromClause
FromClause getFromClause()
Retrieve the from-clause in effect for this statement.- 返回:
- The from-clause for this statement; could be null if the from-clause has not yet been parsed/generated.
-
hasWhereClause
boolean hasWhereClause()
Does this statement tree currently contain a where clause?- 返回:
- True if a where-clause is found in the statement tree and that where clause actually defines restrictions; false otherwise.
-
getWhereClause
antlr.collections.AST getWhereClause()
Retrieve the where-clause defining the restriction(s) in effect for this statement. Note that this will generate a where-clause if one was not found, so caution needs to taken prior to calling this that restrictions will actually exist in the resulting statement tree (otherwise "unexpected end of subtree" errors might occur during rendering).- 返回:
- The where clause.
-
-