public interface QueryMerger
A stream operation merger used to apply offsets and limits to provided queries.
- Author:
- Mislav Milicevic
-
Method Summary
Modifier and TypeMethodDescription<T> QueryMergeResult<T>Inspects the providedpipelineand merges all available operations into the providedquery.
-
Method Details
-
merge
Inspects the providedpipelineand merges all available operations into the providedquery. Operations are to be removed from the pipeline if they are merged. The modified pipeline and query are stored in aQueryMergeResultand returned.- Type Parameters:
T- root entity- Parameters:
pipeline- to inspect and mergequery- that accepts the merged operations- Returns:
- a new QueryMergeResult containing the modified
PipelineandQuery
-