|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.criterion.SimpleProjection
org.hibernate.criterion.PropertyProjection
public class PropertyProjection
A property value, or grouped property value
| Constructor Summary | |
|---|---|
protected |
PropertyProjection(java.lang.String prop)
|
protected |
PropertyProjection(java.lang.String prop,
boolean grouped)
|
| Method Summary | |
|---|---|
java.lang.String |
getPropertyName()
|
Type[] |
getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
Return types returned by the rendered SQL fragment |
boolean |
isGrouped()
Does this projection specify grouping attributes? |
java.lang.String |
toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the group by clause |
java.lang.String |
toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery)
Render the SQL fragment |
java.lang.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(java.lang.String prop,
boolean grouped)
protected PropertyProjection(java.lang.String prop)
| Method Detail |
|---|
public java.lang.String getPropertyName()
public java.lang.String toString()
toString in class java.lang.Object
public Type[] getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
throws HibernateException
Projection
HibernateException
public java.lang.String toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery)
throws HibernateException
Projection
HibernateExceptionpublic boolean isGrouped()
Projection
isGrouped in interface ProjectionisGrouped in class SimpleProjection
public java.lang.String toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
throws HibernateException
Projection
toGroupSqlString in interface ProjectiontoGroupSqlString in class SimpleProjectionHibernateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||