org.hibernate.Criteria , factory methods for <tt>Criterion</tt> instances
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Projection | |
| public static AggregateProjection | |
| public static CountProjection | |
| public static CountProjection | |
| public static Projection | |
| public static PropertyProjection | |
| public static IdentifierProjection | |
| public static AggregateProjection | |
| public static AggregateProjection | |
| public static ProjectionList | |
| public static PropertyProjection | |
| public static Projection | |
| public static Projection | sqlGroupProjection(String sql, String groupBy, String[] columnAliases, Type[] types)
A grouping SQL projection, specifying both select clause and group by clause fragments |
| public static Projection | sqlProjection(String sql, String[] columnAliases, Type[] types)
A SQL projection, a typed select clause fragment |
| public static AggregateProjection |
| Projections | back to summary |
|---|---|
| private Projections() | |
| alias | back to summary |
|---|---|
| public static Projection alias(Projection projection, String alias) Assign an alias to a projection, by wrapping it | |
| avg | back to summary |
|---|---|
| public static AggregateProjection avg(String propertyName) A property average value | |
| count | back to summary |
|---|---|
| public static CountProjection count(String propertyName) A property value count | |
| countDistinct | back to summary |
|---|---|
| public static CountProjection countDistinct(String propertyName) A distinct property value count | |
| distinct | back to summary |
|---|---|
| public static Projection distinct(Projection proj) Create a distinct projection from a projection | |
| groupProperty | back to summary |
|---|---|
| public static PropertyProjection groupProperty(String propertyName) A grouping property value | |
| id | back to summary |
|---|---|
| public static IdentifierProjection id() A projected identifier value | |
| max | back to summary |
|---|---|
| public static AggregateProjection max(String propertyName) A property maximum value | |
| min | back to summary |
|---|---|
| public static AggregateProjection min(String propertyName) A property minimum value | |
| projectionList | back to summary |
|---|---|
| public static ProjectionList projectionList() Create a new projection list | |
| property | back to summary |
|---|---|
| public static PropertyProjection property(String propertyName) A projected property value | |
| rowCount | back to summary |
|---|---|
| public static Projection rowCount() The query row count, ie. count(*) | |
| sqlGroupProjection | back to summary |
|---|---|
| public static Projection sqlGroupProjection(String sql, String groupBy, String[] columnAliases, Type[] types) A grouping SQL projection, specifying both select clause and group by clause fragments | |
| sqlProjection | back to summary |
|---|---|
| public static Projection sqlProjection(String sql, String[] columnAliases, Type[] types) A SQL projection, a typed select clause fragment | |
| sum | back to summary |
|---|---|
| public static AggregateProjection sum(String propertyName) A property value sum | |