org.hibernate.shards.strategy.exit
Interface ExitOperationsCollector

All Known Implementing Classes:
ExitOperationsCriteriaCollector, ExitOperationsQueryCollector

public interface ExitOperationsCollector

Classes that implement this interface are designed to manage the results of a incomplete execution of a query/critieria. For example, with averages the result of each query/critieria should be a list objects on which to calculate the average, rather than the avgerages on each shard. Or the the sum of maxResults(200) should be the sum of only 200 results, not the sum of the sums of 200 results per shard.

Author:
Maulik Shah

Method Summary
 List<Object> apply(List<Object> result)
           
 void setSessionFactory(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)
           
 

Method Detail

apply

List<Object> apply(List<Object> result)

setSessionFactory

void setSessionFactory(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)