FileDocCategorySizeDatePackage
Distinct.javaAPI DocHibernate 3.2.51533Mon Apr 18 12:16:58 BST 2005org.hibernate.criterion

Distinct

public class Distinct extends Object implements Projection
author
Gavin King

Fields Summary
private final Projection
projection
Constructors Summary
public Distinct(Projection proj)

		this.projection = proj;
	
Methods Summary
public java.lang.String[]getAliases()

		return projection.getAliases();
	
public java.lang.String[]getColumnAliases(int loc)

		return projection.getColumnAliases(loc);
	
public java.lang.String[]getColumnAliases(java.lang.String alias, int loc)

		return projection.getColumnAliases(alias, loc);
	
public org.hibernate.type.Type[]getTypes(org.hibernate.Criteria criteria, CriteriaQuery criteriaQuery)

		return projection.getTypes(criteria, criteriaQuery);
	
public org.hibernate.type.Type[]getTypes(java.lang.String alias, org.hibernate.Criteria criteria, CriteriaQuery criteriaQuery)

		return projection.getTypes(alias, criteria, criteriaQuery);
	
public booleanisGrouped()

		return projection.isGrouped();
	
public java.lang.StringtoGroupSqlString(org.hibernate.Criteria criteria, CriteriaQuery criteriaQuery)

		return projection.toGroupSqlString(criteria, criteriaQuery);
	
public java.lang.StringtoSqlString(org.hibernate.Criteria criteria, int position, CriteriaQuery criteriaQuery)

		return "distinct " + projection.toSqlString(criteria, position, criteriaQuery);
	
public java.lang.StringtoString()

		return "distinct " + projection.toString();