org.hibernate.sql
Class SelectValues

java.lang.Object
  extended by org.hibernate.sql.SelectValues

public class SelectValues
extends Object

Models a SELECT values lists. Eventually, rather than Strings, pass in the Column/Formula representations (something like ColumnReference/FormulaReference


Constructor Summary
SelectValues(Dialect dialect)
           
 
Method Summary
 SelectValues addColumn(String qualifier, String columnName, String columnAlias)
           
 SelectValues addColumns(String qualifier, String[] columnNames, String[] columnAliases)
           
 SelectValues addParameter(int jdbcTypeCode, int length)
           
 SelectValues addParameter(int jdbcTypeCode, int precision, int scale)
           
 String render()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectValues

public SelectValues(Dialect dialect)
Method Detail

addColumns

public SelectValues addColumns(String qualifier,
                               String[] columnNames,
                               String[] columnAliases)

addColumn

public SelectValues addColumn(String qualifier,
                              String columnName,
                              String columnAlias)

addParameter

public SelectValues addParameter(int jdbcTypeCode,
                                 int length)

addParameter

public SelectValues addParameter(int jdbcTypeCode,
                                 int precision,
                                 int scale)

render

public String render()


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.