ome.services.query
Class CollectionCountQueryDefinition
java.lang.Object
ome.services.query.Query
ome.services.query.CollectionCountQueryDefinition
- All Implemented Interfaces:
- org.springframework.orm.hibernate3.HibernateCallback
public class CollectionCountQueryDefinition
- extends Query
counts the number of members in a collection. This query is used by the
IContainer
interface (possbly among others) to add
information to outgoing results.
- Since:
- OMERO 3.0
- Version:
- 1.0 (Internal version: $Rev$ $Date$)
- Author:
- Josh Moore, josh.moore@gmx.de
- See Also:
Details#getCounts()
Method Summary |
protected void |
buildQuery(org.hibernate.Session session)
main point of entry for subclasses. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionCountQueryDefinition
public CollectionCountQueryDefinition(ome.parameters.Parameters parameters)
buildQuery
protected void buildQuery(org.hibernate.Session session)
throws org.hibernate.HibernateException,
SQLException
- Description copied from class:
Query
- main point of entry for subclasses. This method must build either a
Criteria
or a Query
instance
and make it available via Query.setCriteria(org.hibernate.Criteria)
or
Query.setQuery(org.hibernate.Query)
- Specified by:
buildQuery
in class Query
- Throws:
org.hibernate.HibernateException
SQLException
OmeroJava Api
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.