|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.criterion.SimpleProjection org.hibernate.criterion.PropertyProjection
A property value, or grouped property value
Constructor Summary | |
protected |
PropertyProjection(String prop)
|
protected |
PropertyProjection(String prop,
boolean grouped)
|
Method Summary | |
String |
getPropertyName()
|
Type[] |
getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
Return types returned by the rendered SQL fragment |
boolean |
isGrouped()
Does this projection specify grouping attributes? |
String |
toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the group by clause |
String |
toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery)
Render the SQL fragment |
String |
toString()
|
Methods inherited from class org.hibernate.criterion.SimpleProjection |
as, getAliases, getColumnAliases, getColumnAliases, getTypes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected PropertyProjection(String prop, boolean grouped)
protected PropertyProjection(String prop)
Method Detail |
public String getPropertyName()
public String toString()
public Type[] getTypes(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Projection
criteria
- criteriaQuery
-
HibernateException
public String toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery) throws HibernateException
Projection
criteriaQuery
-
HibernateException
public boolean isGrouped()
Projection
isGrouped
in interface Projection
isGrouped
in class SimpleProjection
public String toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Projection
toGroupSqlString
in interface Projection
toGroupSqlString
in class SimpleProjection
HibernateException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |