当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
Parser (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.hql
Interface Parser
- All Known Implementing Classes:
- ClauseParser, FromParser, GroupByParser, OrderByParser, PathExpressionParser, PreprocessingParser, SelectParser, 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
public void token(String token,
QueryTranslator q)
throws QueryException
- Throws:
QueryException
start
public void start(QueryTranslator q)
throws QueryException
- Throws:
QueryException
end
public void end(QueryTranslator q)
throws QueryException
- Throws:
QueryException