| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.hibernate.criterion.ProjectionListConstructor Summary | |
Method Summary | |
ProjectionList |
|
ProjectionList |
|
ProjectionList |
|
String[] |
|
String[] |
|
String[] |
|
int | |
Projection |
|
Type[] |
|
Type[] |
|
boolean |
|
String |
|
String |
|
String |
|
public String[] getAliases()
Get the user-visible aliases for this projection (ie. the ones that will be passed to the ResultTransformer)
- Specified by:
- getAliases in interface Projection
public String[] getColumnAliases(String alias,
int loc)Get the SQL select clause column aliases for a particular user-visible alias
- Specified by:
- getColumnAliases in interface Projection
public String[] getColumnAliases(int loc)
Get the SQL select clause column aliases
- Specified by:
- getColumnAliases in interface Projection
public int getLength()
public Type[] getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Return types for a particular user-visible alias
- Specified by:
- getTypes in interface Projection
public Type[] getTypes(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Return types returned by the rendered SQL fragment
- Specified by:
- getTypes in interface Projection
- Parameters:
criteria-criteriaQuery-
- Returns:
- Type[]
- Throws:
HibernateException-
public boolean isGrouped()
Does this projection specify grouping attributes?
- Specified by:
- isGrouped in interface Projection
public String toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Render the SQL fragment to be used in the group by clause
- Specified by:
- toGroupSqlString in interface Projection
- Parameters:
criteriaQuery-
- Returns:
- String
- Throws:
HibernateException-
public String toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery) throws HibernateException
Render the SQL fragment
- Specified by:
- toSqlString in interface Projection
- Parameters:
criteriaQuery-
- Returns:
- String
- Throws:
HibernateException-
public String toString()