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 |
addColumnTemplate(String tableAlias,
String columnTemplate,
String columnAlias)
|
SelectFragment |
addColumnTemplates(String tableAlias,
String[] columnTemplates,
String[] columnAliases)
|
SelectFragment |
addFormula(String tableAlias,
String formula,
String formulaAlias)
|
SelectFragment |
addFormulas(String tableAlias,
String[] formulas,
String[] formulaAliases)
|
List |
getColumns()
|
String |
getExtraSelectList()
|
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()
getColumns
public List getColumns()
getExtraSelectList
public String getExtraSelectList()
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)
addColumnTemplate
public SelectFragment addColumnTemplate(String tableAlias,
String columnTemplate,
String columnAlias)
addColumnTemplates
public SelectFragment addColumnTemplates(String tableAlias,
String[] columnTemplates,
String[] columnAliases)
toFragmentString
public String toFragmentString()
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.