|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object antlr.BaseAST antlr.CommonAST org.hibernate.hql.ast.tree.Node org.hibernate.hql.ast.tree.SqlNode org.hibernate.hql.ast.tree.HqlSqlWalkerNode org.hibernate.hql.ast.tree.AbstractStatement org.hibernate.hql.ast.tree.AbstractRestrictableStatement
public abstract class AbstractRestrictableStatement
Convenience implementation of RestrictableStatement
to centralize common functionality.
Field Summary |
---|
Fields inherited from class antlr.BaseAST |
---|
down, right |
Constructor Summary | |
---|---|
AbstractRestrictableStatement()
|
Method Summary | |
---|---|
FromClause |
getFromClause()
Retreives the from-clause in effect for this statement. |
protected abstract org.slf4j.Logger |
getLog()
|
antlr.collections.AST |
getWhereClause()
Retreives the where-clause defining the restriction(s) in effect for this statement. |
protected abstract int |
getWhereClauseParentTokenType()
|
boolean |
hasWhereClause()
Does this statement tree currently contain a where clause? |
protected antlr.collections.AST |
locateWhereClause()
|
Methods inherited from class org.hibernate.hql.ast.tree.AbstractStatement |
---|
getDisplayText |
Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode |
---|
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize |
Methods inherited from class org.hibernate.hql.ast.tree.SqlNode |
---|
getDataType, getOriginalText, setDataType, setText |
Methods inherited from class org.hibernate.hql.ast.tree.Node |
---|
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize |
Methods inherited from class antlr.CommonAST |
---|
getText, getType, initialize, setType |
Methods inherited from class 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.hibernate.hql.ast.tree.Statement |
---|
getStatementType, getWalker, needsExecutor |
Constructor Detail |
---|
public AbstractRestrictableStatement()
Method Detail |
---|
protected abstract int getWhereClauseParentTokenType()
protected abstract org.slf4j.Logger getLog()
public final FromClause getFromClause()
RestrictableStatement
getFromClause
in interface RestrictableStatement
RestrictableStatement.getFromClause()
public final boolean hasWhereClause()
RestrictableStatement
hasWhereClause
in interface RestrictableStatement
RestrictableStatement.hasWhereClause()
public final antlr.collections.AST getWhereClause()
RestrictableStatement
getWhereClause
in interface RestrictableStatement
RestrictableStatement.getWhereClause()
protected antlr.collections.AST locateWhereClause()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |