当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
SelectFragment (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.sql
Class SelectFragment
java.lang.Object
org.hibernate.sql.SelectFragment
- public class SelectFragment
- extends Object
A fragment of an SQL SELECT clause
- Author:
- Gavin King
Method Summary |
SelectFragment |
addColumn(String columnName)
|
SelectFragment |
addColumn(String tableAlias,
String columnName)
|
SelectFragment |
addColumn(String tableAlias,
String columnName,
String columnAlias)
|
SelectFragment |
addColumns(String[] columnNames)
|
SelectFragment |
addColumns(String tableAlias,
String[] columnNames)
|
SelectFragment |
addColumns(String tableAlias,
String[] columnNames,
String[] columnAliases)
|
SelectFragment |
addFormula(String tableAlias,
String formula,
String formulaAlias)
|
SelectFragment |
addFormulas(String tableAlias,
String[] formulas,
String[] formulaAliases)
|
SelectFragment |
setExtraSelectList(CaseFragment caseFragment,
String fragmentAlias)
|
SelectFragment |
setExtraSelectList(String extraSelectList)
|
SelectFragment |
setSuffix(String suffix)
|
SelectFragment |
setUsedAliases(String[] aliases)
|
String |
toFragmentString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectFragment
public SelectFragment()
setUsedAliases
public SelectFragment setUsedAliases(String[] aliases)
setExtraSelectList
public SelectFragment setExtraSelectList(String extraSelectList)
setExtraSelectList
public SelectFragment setExtraSelectList(CaseFragment caseFragment,
String fragmentAlias)
setSuffix
public SelectFragment setSuffix(String suffix)
addColumn
public SelectFragment addColumn(String columnName)
addColumns
public SelectFragment addColumns(String[] columnNames)
addColumn
public SelectFragment addColumn(String tableAlias,
String columnName)
addColumn
public SelectFragment addColumn(String tableAlias,
String columnName,
String columnAlias)
addColumns
public SelectFragment addColumns(String tableAlias,
String[] columnNames)
addColumns
public SelectFragment addColumns(String tableAlias,
String[] columnNames,
String[] columnAliases)
addFormulas
public SelectFragment addFormulas(String tableAlias,
String[] formulas,
String[] formulaAliases)
addFormula
public SelectFragment addFormula(String tableAlias,
String formula,
String formulaAlias)
toFragmentString
public String toFragmentString()