Known Direct Subclasses
Property |
A factory for property-specific criterion and projection instances |
|
Class Overview
A property value, or grouped property value
Summary
[Expand]
Inherited Methods |
From class
org.hibernate.criterion.SimpleProjection
Projection
|
as(String alias)
|
String[]
|
getAliases()
Get the criteria-level aliases for this projection (ie.
|
String[]
|
getColumnAliases(int loc)
|
String[]
|
getColumnAliases(String alias, int loc)
|
String[]
|
getColumnAliases(int loc, Criteria criteria, CriteriaQuery criteriaQuery)
|
String[]
|
getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery)
|
int
|
getColumnCount(Criteria criteria, CriteriaQuery criteriaQuery)
|
Type[]
|
getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Get the return types for a particular user-visible alias.
|
boolean
|
isGrouped()
Is this projection fragment (SELECT clause) also part of the GROUP BY
|
String
|
toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the GROUP BY clause
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.hibernate.criterion.EnhancedProjection
|
From interface
org.hibernate.criterion.Projection
|
Protected Constructors
protected
PropertyProjection
(String prop, boolean grouped)
protected
PropertyProjection
(String prop)
Public Methods
public
String
getPropertyName
()
public
boolean
isGrouped
()
Is this projection fragment (SELECT clause) also part of the GROUP BY
Returns
- True if the projection is also part of the GROUP BY; false otherwise.
Render the SQL fragment to be used in the GROUP BY clause
Parameters
criteria
| The local criteria to which this project is attached (for resolution). |
criteriaQuery
| The overall criteria query instance. |
Returns
- The SQL fragment to plug into the GROUP BY