Top Description Fields Constructors Methods
org.hibernate.criterion

public Class CountProjection

extends AggregateProjection
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .Collections, .List, org.hibernate.Criteria, .QueryException

A count
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private boolean
Inherited from org.hibernate.criterion.AggregateProjection:
propertyName

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
private List<E>
protected List<E>
public CountProjection
public String
toString()

Overrides org.hibernate.criterion.AggregateProjection.toString.

Returns a string representation of the object.
Inherited from org.hibernate.criterion.AggregateProjection:
buildFunctionParameterListgetFunctiongetFunctiongetFunctionNamegetPropertyNamegetTypestoSqlString

Field Detail

distinctback to summary
private boolean distinct

Constructor Detail

CountProjectionback to summary
protected CountProjection(String prop)

Method Detail

buildCountDistinctParameterListback to summary
private List<E> buildCountDistinctParameterList(String[] cols)
buildFunctionParameterListback to summary
protected List<E> buildFunctionParameterList(Criteria criteria, CriteriaQuery criteriaQuery)

Overrides org.hibernate.criterion.AggregateProjection.buildFunctionParameterList.

setDistinctback to summary
public CountProjection setDistinct()
toStringback to summary
public String toString()

Overrides org.hibernate.criterion.AggregateProjection.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.