Uses of Class
org.springframework.data.mongodb.core.aggregation.ProjectionOperation
Packages that use ProjectionOperation
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ProjectionOperation in org.springframework.data.mongodb.core.aggregation
Fields in org.springframework.data.mongodb.core.aggregation declared as ProjectionOperationModifier and TypeFieldDescriptionprotected final ProjectionOperationProjectionOperation.AbstractProjectionOperationBuilder.operationprotected final ProjectionOperationProjectionOperation.AbstractProjectionOperationBuilder.operationMethods in org.springframework.data.mongodb.core.aggregation that return ProjectionOperationModifier 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 theProjectionOperationfor the array property with given name.Allows to specify an alias for the previous projection operation.Includes the currentProjectionOperationas 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 ProjectionOperationCreates a newProjectionOperationincluding all top level fields of the given givenClass.static ProjectionOperationCreates a newProjectionOperationincluding the given fields.static ProjectionOperationCreates a newProjectionOperationincluding the givenFields.Constructors in org.springframework.data.mongodb.core.aggregation with parameters of type ProjectionOperationModifierConstructorDescriptionExpressionProjectionOperationBuilder(String expression, ProjectionOperation operation, Object[] parameters) Creates a newProjectionOperation.ExpressionProjectionOperationBuilderfor the given value,ProjectionOperationand parameters.protectedProjectionOperationBuilder(Object value, ProjectionOperation operation, org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder.OperationProjection previousProjection) Creates a newProjectionOperation.ProjectionOperationBuilderfor 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.ProjectionOperationBuilderfor the field with the given name on top of the givenProjectionOperation.