Uses of Class
org.springframework.data.mongodb.core.aggregation.ProjectionOperation
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ProjectionOperation in org.springframework.data.mongodb.core.aggregation
Modifier and TypeFieldDescriptionprotected final ProjectionOperation
ProjectionOperation.AbstractProjectionOperationBuilder.operation
protected final ProjectionOperation
ProjectionOperation.AbstractProjectionOperationBuilder.operation
Modifier and TypeMethodDescriptionProjectionOperation.andExclude
(String... fieldNames) Excludes the given fields from the projection.ProjectionOperation.andInclude
(String... fieldNames) Includes the given fields into the projection.ProjectionOperation.andInclude
(Fields fields) Includes the given fields into the projection.ProjectionOperation.ProjectionOperationBuilder.applyCondition
(ConditionalOperators.Cond cond) ProjectionOperation.ProjectionOperationBuilder.applyCondition
(ConditionalOperators.IfNull ifNull) Create theProjectionOperation
for the array property with given name.Allows to specify an alias for the previous projection operation.Includes the currentProjectionOperation
as an array with given name.Defines a nested field binding for the current field.ProjectionOperation.ProjectionOperationBuilder.previousOperation()
Projects the result of the previous operation onto the current field.static ProjectionOperation
Creates a newProjectionOperation
including all top level fields of the given givenClass
.static ProjectionOperation
Creates a newProjectionOperation
including the given fields.static ProjectionOperation
Creates a newProjectionOperation
including the givenFields
.ModifierConstructorDescriptionExpressionProjectionOperationBuilder
(String expression, ProjectionOperation operation, Object[] parameters) Creates a newProjectionOperation.ExpressionProjectionOperationBuilder
for the given value,ProjectionOperation
and parameters.protected
ProjectionOperationBuilder
(Object value, ProjectionOperation operation, org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder.OperationProjection previousProjection) Creates a newProjectionOperation.ProjectionOperationBuilder
for the field with the given value on top of the givenProjectionOperation
.ProjectionOperationBuilder
(String name, ProjectionOperation operation, org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder.OperationProjection previousProjection) Creates a newProjectionOperation.ProjectionOperationBuilder
for the field with the given name on top of the givenProjectionOperation
.