org.hibernate.shards.query
Class ExitOperationsQueryCollector
java.lang.Object
org.hibernate.shards.query.ExitOperationsQueryCollector
- All Implemented Interfaces:
- ExitOperationsCollector
public class ExitOperationsQueryCollector
- extends Object
- implements ExitOperationsCollector
Exit operations for queries is essentially not implemented. Its intended use
is to record a set of aggregation type operations to be executed on the
combined results for a query executed on each shard.
We do implement setMaxResults and setFirstResult as these operations do not
require parsing the query string.
- Author:
- Maulik Shah
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExitOperationsQueryCollector
public ExitOperationsQueryCollector()
apply
public List<Object> apply(List<Object> result)
- Specified by:
apply
in interface ExitOperationsCollector
setSessionFactory
public void setSessionFactory(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)
- Specified by:
setSessionFactory
in interface ExitOperationsCollector
setMaxResults
public ExitOperationsCollector setMaxResults(int maxResults)
setFirstResult
public ExitOperationsCollector setFirstResult(int firstResult)