站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

SelectParser (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.hql.classic
Class SelectParser

java.lang.Object
  extended byorg.hibernate.hql.classic.SelectParser
All Implemented Interfaces:
Parser

public class SelectParser
extends Object
implements Parser

Parsers the select clause of a Hibernate query.

Author:
Gavin King, David Channon

Constructor Summary
SelectParser()
           
 
Method Summary
 boolean aggregateFuncNoArgsHasParenthesis(String funcToken, QueryTranslatorImpl q)
           
 boolean aggregateHasArgs(String funcToken, QueryTranslatorImpl q)
           
 Type aggregateType(List funcTokenList, Type type, QueryTranslatorImpl q)
           
 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

SelectParser

public SelectParser()
Method Detail

token

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

aggregateHasArgs

public boolean aggregateHasArgs(String funcToken,
                                QueryTranslatorImpl q)

aggregateFuncNoArgsHasParenthesis

public boolean aggregateFuncNoArgsHasParenthesis(String funcToken,
                                                 QueryTranslatorImpl q)

aggregateType

public Type aggregateType(List funcTokenList,
                          Type type,
                          QueryTranslatorImpl q)
                   throws QueryException
Throws:
QueryException

start

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

end

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