Module spring.data.mongodb
Class ProjectionOperation.ArrayProjectionOperationBuilder
java.lang.Object
org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ArrayProjectionOperationBuilder
- Enclosing class:
- ProjectionOperation
Builder for
array projections.- Since:
- 2.2
- Author:
- Christoph Strobl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.and(AggregationExpression expression) Creates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.Creates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.Create theProjectionOperationfor the array property with given name.
-
Constructor Details
-
ArrayProjectionOperationBuilder
-
-
Method Details
-
and
Creates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.- Parameters:
expression-- Returns:
-
and
Creates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.- Parameters:
field-- Returns:
-
and
Creates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.- Parameters:
value-- Returns:
-
as
Create theProjectionOperationfor the array property with given name.- Parameters:
name- The target property name. Must not be null.- Returns:
- new instance of
ProjectionOperation.ArrayProjectionOperationBuilder.
-