Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.hql.ast
Class QueryNode  view QueryNode download QueryNode.java

java.lang.Object
  extended byantlr.BaseAST
      extended byantlr.CommonAST
          extended byorg.hibernate.hql.ast.SqlNode
              extended byorg.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.


Field Summary
private  FromClause fromClause
           
private static org.apache.commons.logging.Log log
           
private  OrderByClause orderByClause
           
private  HqlSqlWalker walker
           
private  antlr.collections.AST where
           
 
Fields inherited from class antlr.CommonAST
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
QueryNode()
           
 
Method Summary
 org.hibernate.type.Type getDataType()
           
 java.lang.String getDisplayText()
          Returns additional display text for the AST node.
 FromClause getFromClause()
           
 OrderByClause getOrderByClause()
           
(package private)  java.lang.String getOriginalText()
           
(package private)  HqlSqlWalker getWalker()
           
 antlr.collections.AST getWhereClause()
           
 void initialize(java.lang.Object param)
          Initializes the node with the parameter.
 boolean isDML()
           
(package private)  void setDataType(org.hibernate.type.Type dataType)
           
 void setText(java.lang.String s)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

QueryNode

public QueryNode()
Method Detail

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)