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

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


net.sf.hibernate.sql
Class SelectFragment

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

public class SelectFragment
extends Object

A fragment of an SQL SELECT clause

Author:
Gavin King

Constructor Summary
SelectFragment()
           
 
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 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
 

Constructor Detail

SelectFragment

public SelectFragment()
Method Detail

setUsedAliases

public SelectFragment setUsedAliases(String[] aliases)

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()