org.hibernate.hql.classic
Interface Parser
- All Known Implementing Classes:
- ClauseParser, FromParser, FromPathExpressionParser, GroupByParser, HavingParser, OrderByParser, PathExpressionParser, PreprocessingParser, SelectParser, SelectPathExpressionParser, WhereParser
public interface Parser
A parser is a state machine that accepts a string of tokens,
bounded by start() and end() and modifies a QueryTranslator. Parsers
are NOT intended to be threadsafe. They SHOULD be reuseable
for more than one token stream.
token
void token(String token,
QueryTranslatorImpl q)
throws QueryException
- Throws:
QueryException
start
void start(QueryTranslatorImpl q)
throws QueryException
- Throws:
QueryException
end
void end(QueryTranslatorImpl q)
throws QueryException
- Throws:
QueryException