| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public ProjectionList | Returns: this, for method chainingThe projection to add projection)Add a projection to this list of projections |
| public ProjectionList | Returns: this, for method chainingThe projection to add projection, String The alias to apply to the projection alias)Adds a projection to this list of projections after wrapping it with an alias |
| public ProjectionList | |
| public String[] | getAliases()
Implements org. |
| public String[] | getColumnAliases(final int
Just as in loc)toSqlString, represents the number of columns rendered
prior to this projection.Implements org. toSqlString.
|
| public String[] | getColumnAliases(final int
Just as in loc, Criteria toSqlString, represents the number of columns rendered
prior to this projection.The local criteria to which this project is attached (for resolution). criteria, CriteriaQuery The overall criteria query instance. criteriaQuery)Implements org. toSqlString.
|
| public String[] | getColumnAliases(String
The criteria-level alias alias, final int Just as in loc)toSqlString, represents the number of columns rendered
prior to this projection.Implements org. toSqlString for a particular criteria-level alias.
|
| public String[] | getColumnAliases(String
The criteria-level alias alias, int Just as in loc, Criteria toSqlString, represents the number of columns rendered
prior to this projection.The local criteria to which this project is attached (for resolution). criteria, CriteriaQuery The overall criteria query instance. criteriaQuery)Implements org. toSqlString for a particular criteria-level alias.
|
| private static String[] | |
| private static String[] | getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery, Projection projection)
|
| public int | |
| public Projection | Returns: The projectionThe index of the projection to return i)Access a wrapped projection by index |
| public Type[] | getTypes(Criteria
The local criteria to which this project is attached (for resolution). criteria, CriteriaQuery The overall criteria query instance. criteriaQuery)Implements org. fragment.
|
| public Type[] | getTypes(String
The criteria-level alias for which to find types. alias, Criteria The local criteria to which this project is attached (for resolution). criteria, CriteriaQuery The overall criteria query instance. criteriaQuery)Implements org. |
| public boolean | isGrouped()
Implements org. |
| public String | toGroupSqlString(Criteria
The local criteria to which this project is attached (for resolution). criteria, CriteriaQuery The overall criteria query instance. criteriaQuery)Implements org. |
| public String | toSqlString(Criteria
The local criteria to which this project is attached (for resolution). criteria, int The number of columns rendered in the SELECT clause before this projection. Generally
speaking this is useful to ensure uniqueness of the individual columns aliases. loc, CriteriaQuery The overall criteria query instance. criteriaQuery)Implements org. |
| public String |
| elements | back to summary |
|---|---|
| private List<Projection> elements | |
| ProjectionList | back to summary |
|---|---|
| protected ProjectionList() Constructs a ProjectionList
| |
| add | back to summary |
|---|---|
| public ProjectionList add(Projection projection) Add a projection to this list of projections
| |
| add | back to summary |
|---|---|
| public ProjectionList add(Projection projection, String alias) Adds a projection to this list of projections after wrapping it with an alias
| |
| create | back to summary |
|---|---|
| public ProjectionList create()
Deprecated an instance factory method does not make sense Lol
| |
| getAliases | back to summary |
|---|---|
| public String[] getAliases() Implements org. Doc from org. Get the criteria-level aliases for this projection (ie. the ones that will be passed to the
| |
| getColumnAliases | back to summary |
|---|---|
| public String[] getColumnAliases(final int loc) Implements org. Doc from org. Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
| |
| getColumnAliases | back to summary |
|---|---|
| public String[] getColumnAliases(final int loc, Criteria criteria, CriteriaQuery criteriaQuery) Implements org. Doc from org. Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
| |
| getColumnAliases | back to summary |
|---|---|
| public String[] getColumnAliases(String alias, final int loc) Implements org. Doc from org. Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
| |
| getColumnAliases | back to summary |
|---|---|
| public String[] getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery) Implements org. Doc from org. Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
| |
| getColumnAliases | back to summary |
|---|---|
| private static String[] getColumnAliases(int loc, Criteria criteria, CriteriaQuery criteriaQuery, Projection projection) | |
| getColumnAliases | back to summary |
|---|---|
| private static String[] getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery, Projection projection) | |
| getLength | back to summary |
|---|---|
| public int getLength() | |
| getProjection | back to summary |
|---|---|
| public Projection getProjection(int i) Access a wrapped projection by index
| |
| getTypes | back to summary |
|---|---|
| public Type[] getTypes(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException Implements org. Doc from org. Types returned by the rendered SQL
| |
| getTypes | back to summary |
|---|---|
| public Type[] getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery) Implements org. Doc from org. Get the return types for a particular user-visible alias.
Differs from
| |
| isGrouped | back to summary |
|---|---|
| public boolean isGrouped() Implements org. Doc from org. Is this projection fragment (SELECT clause) also part of the GROUP BY
| |
| toGroupSqlString | back to summary |
|---|---|
| public String toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException Implements org. Doc from org. Render the SQL fragment to be used in the GROUP BY clause
| |
| toSqlString | back to summary |
|---|---|
| public String toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery) throws HibernateException Implements org. Doc from org. Render the SQL fragment to be used in the SELECT clause.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |