Module spring.data.mongodb
Class FacetOperation.FacetOperationBuilder
java.lang.Object
org.springframework.data.mongodb.core.aggregation.FacetOperation.FacetOperationBuilder
- Enclosing class:
- FacetOperation
Builder for
FacetOperation by adding existing and the new pipeline of AggregationOperation to the
new FacetOperation.- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newFacetOperationthat contains the configured pipeline ofAggregationOperationexposed as fieldName in the resulting facet document.
-
Method Details
-
as
Creates a newFacetOperationthat contains the configured pipeline ofAggregationOperationexposed as fieldName in the resulting facet document.- Parameters:
fieldName- must not be null or empty.- Returns:
-