类 AbstractRestrictableStatement
- java.lang.Object
-
- antlr.BaseAST
-
- antlr.CommonAST
-
- org.hibernate.hql.internal.ast.tree.Node
-
- org.hibernate.hql.internal.ast.tree.SqlNode
-
- org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
-
- org.hibernate.hql.internal.ast.tree.AbstractStatement
-
- org.hibernate.hql.internal.ast.tree.AbstractRestrictableStatement
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,DisplayableNode,InitializeableNode,RestrictableStatement,Statement
- 直接已知子类:
DeleteStatement,QueryNode,UpdateStatement
public abstract class AbstractRestrictableStatement extends AbstractStatement implements RestrictableStatement
Convenience implementation ofRestrictableStatementto centralize common functionality.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AbstractRestrictableStatement()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 FromClausegetFromClause()Retrieve the from-clause in effect for this statement.protected abstract CoreMessageLoggergetLog()antlr.collections.ASTgetWhereClause()Retrieve the where-clause defining the restriction(s) in effect for this statement.protected abstract intgetWhereClauseParentTokenType()booleanhasWhereClause()Does this statement tree currently contain a where clause?protected antlr.collections.ASTlocateWhereClause()-
从类继承的方法 org.hibernate.hql.internal.ast.tree.AbstractStatement
getDisplayText
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.SqlNode
getDataType, getOriginalText, setDataType, setText
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.Node
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
-
从类继承的方法 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
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.hql.internal.ast.tree.Statement
getStatementType, getWalker, needsExecutor
-
-
-
-
方法详细资料
-
getWhereClauseParentTokenType
protected abstract int getWhereClauseParentTokenType()
-
getLog
protected abstract CoreMessageLogger getLog()
-
getFromClause
public final FromClause getFromClause()
从接口复制的说明:RestrictableStatementRetrieve the from-clause in effect for this statement.- 指定者:
getFromClause在接口中RestrictableStatement- 返回:
- The from-clause for this statement; could be null if the from-clause has not yet been parsed/generated.
-
hasWhereClause
public final boolean hasWhereClause()
从接口复制的说明:RestrictableStatementDoes this statement tree currently contain a where clause?- 指定者:
hasWhereClause在接口中RestrictableStatement- 返回:
- True if a where-clause is found in the statement tree and that where clause actually defines restrictions; false otherwise.
-
getWhereClause
public final antlr.collections.AST getWhereClause()
从接口复制的说明:RestrictableStatementRetrieve 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).- 指定者:
getWhereClause在接口中RestrictableStatement- 返回:
- The where clause.
-
locateWhereClause
protected antlr.collections.AST locateWhereClause()
-
-