public interface CriteriaMerger
A stream operation merger used to apply conditions to provided queries.
- Author:
- Mislav Milicevic
-
Method Summary
Modifier and TypeMethodDescription<ENTITY> CriteriaMergeResult<ENTITY>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 aCriteriaMergeResultand returned.- Type Parameters:
ENTITY- root entity- Parameters:
pipeline- to inspect and mergecriteria- that provides access to the underlying builder and query- Returns:
- a new CriteriaMergeResult containing the modified
PipelineandCriteriaQuery
-