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

QuerySelect (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.sql
Class QuerySelect

java.lang.Object
  extended bynet.sf.hibernate.sql.QuerySelect

public class QuerySelect
extends Object

A translated HQL query

Author:
Gavin King

Constructor Summary
QuerySelect(Dialect dialect)
           
 
Method Summary
 void addOrderBy(String orderByString)
           
 void addSelectColumn(String columnName, String alias)
           
 void addSelectFragmentString(String fragment)
           
 JoinFragment getJoinFragment()
           
 void setDistinct(boolean distinct)
           
 void setGroupByTokens(Iterator tokens)
           
 void setHavingTokens(Iterator tokens)
           
 void setOrderByTokens(Iterator tokens)
           
 void setWhereTokens(Iterator tokens)
           
 String toQueryString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuerySelect

public QuerySelect(Dialect dialect)
Method Detail

getJoinFragment

public JoinFragment getJoinFragment()

addSelectFragmentString

public void addSelectFragmentString(String fragment)

addSelectColumn

public void addSelectColumn(String columnName,
                            String alias)

setDistinct

public void setDistinct(boolean distinct)

setWhereTokens

public void setWhereTokens(Iterator tokens)

setGroupByTokens

public void setGroupByTokens(Iterator tokens)

setOrderByTokens

public void setOrderByTokens(Iterator tokens)

setHavingTokens

public void setHavingTokens(Iterator tokens)

addOrderBy

public void addOrderBy(String orderByString)

toQueryString

public String toQueryString()