Package net.solarnetwork.central.dao
Interface AggregationFilterableDao<M,F extends AggregationFilter>
- Type Parameters:
M- the result match typeF- the filter type
public interface AggregationFilterableDao<M,F extends AggregationFilter>
API for DAOs that support filtered queries of aggregate data.
-
Method Summary
Modifier and TypeMethodDescriptionfindAggregationFiltered(F filter, List<net.solarnetwork.domain.SortDescriptor> sortDescriptors, Integer offset, Integer max) API for querying for a filtered set of aggregated results from all possible results.
-
Method Details
-
findAggregationFiltered
FilterResults<M> findAggregationFiltered(F filter, List<net.solarnetwork.domain.SortDescriptor> sortDescriptors, Integer offset, Integer max) API for querying for a filtered set of aggregated results from all possible results.- Parameters:
filter- the query filtersortDescriptors- the optional sort descriptorsoffset- an optional result offsetmax- an optional maximum number of returned results- Returns:
- the results, never null
-