org.hibernate.hql.classic
Class WhereParser

java.lang.Object
  extended by org.hibernate.hql.classic.WhereParser
All Implemented Interfaces:
Parser
Direct Known Subclasses:
HavingParser

public class WhereParser
extends Object
implements Parser

Parses the where clause of a hibernate query and translates it to an SQL where clause.


Constructor Summary
WhereParser()
           
 
Method Summary
 void end(QueryTranslatorImpl q)
           
 void start(QueryTranslatorImpl q)
           
 void token(String token, QueryTranslatorImpl q)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhereParser

public WhereParser()
Method Detail

token

public void token(String token,
                  QueryTranslatorImpl q)
           throws QueryException
Specified by:
token in interface Parser
Throws:
QueryException

start

public void start(QueryTranslatorImpl q)
           throws QueryException
Specified by:
start in interface Parser
Throws:
QueryException

end

public void end(QueryTranslatorImpl q)
         throws QueryException
Specified by:
end in interface Parser
Throws:
QueryException