java.lang.Object
antlr.BaseAST
antlr.CommonAST
org.hibernate.hql.ast.SqlNode
org.hibernate.hql.ast.QueryNode
- All Implemented Interfaces:
- antlr.collections.AST, DisplayableNode, InitializeableNode, java.io.Serializable
- public class QueryNode
- extends SqlNode
- implements InitializeableNode, DisplayableNode
Defines a top-level AST node representing the notion of a query.
| Fields inherited from class antlr.CommonAST |
|
| Fields inherited from class antlr.BaseAST |
down, right |
| Methods inherited from class antlr.CommonAST |
getText, getType, initialize, initialize, initialize, setType |
| Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
log
private static final org.apache.commons.logging.Log log
walker
private HqlSqlWalker walker
where
private antlr.collections.AST where
fromClause
private FromClause fromClause
orderByClause
private OrderByClause orderByClause
QueryNode
public QueryNode()
initialize
public void initialize(java.lang.Object param)
- Description copied from interface:
InitializeableNode
- Initializes the node with the parameter.
- Specified by:
initialize in interface InitializeableNode
getWalker
final HqlSqlWalker getWalker()
isDML
public boolean isDML()
getWhereClause
public final antlr.collections.AST getWhereClause()
getFromClause
public final FromClause getFromClause()
getOrderByClause
public final OrderByClause getOrderByClause()
getDisplayText
public java.lang.String getDisplayText()
- Returns additional display text for the AST node.
- Specified by:
getDisplayText in interface DisplayableNode
setText
public void setText(java.lang.String s)
getOriginalText
java.lang.String getOriginalText()
getDataType
public org.hibernate.type.Type getDataType()
setDataType
void setDataType(org.hibernate.type.Type dataType)