Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
ProjectionOperation |
ProjectionOperation.andExclude(String... fieldNames)
Excludes the given fields from the projection.
|
ProjectionOperation |
ProjectionOperation.andInclude(Fields fields)
Includes the given fields into the projection.
|
ProjectionOperation |
ProjectionOperation.andInclude(String... fieldNames)
Includes the given fields into the projection.
|
ProjectionOperation |
ProjectionOperation.ExpressionProjectionOperationBuilder.as(String alias) |
ProjectionOperation |
ProjectionOperation.ProjectionOperationBuilder.as(String alias)
Allows to specify an alias for the previous projection operation.
|
ProjectionOperation |
ProjectionOperation.ProjectionOperationBuilder.nested(Fields fields)
Defines a nested field binding for the current field.
|
ProjectionOperation |
ProjectionOperation.ProjectionOperationBuilder.previousOperation()
Projects the result of the previous operation onto the current field.
|
static ProjectionOperation |
Aggregation.project(Fields fields)
Creates a new
ProjectionOperation includeing the given Fields . |
static ProjectionOperation |
Aggregation.project(String... fields)
Creates a new
ProjectionOperation including the given fields. |
Constructor and Description |
---|
ProjectionOperation.ExpressionProjectionOperationBuilder(String expression,
ProjectionOperation operation,
Object[] parameters)
Creates a new
ProjectionOperation.ExpressionProjectionOperationBuilder for the given value, ProjectionOperation and
parameters. |
ProjectionOperation.ProjectionOperationBuilder(Object value,
ProjectionOperation operation,
org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder.OperationProjection previousProjection)
Creates a new
ProjectionOperation.ProjectionOperationBuilder for the field with the given value on top of the given
ProjectionOperation . |
ProjectionOperation.ProjectionOperationBuilder(String name,
ProjectionOperation operation,
org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder.OperationProjection previousProjection)
Creates a new
ProjectionOperation.ProjectionOperationBuilder for the field with the given name on top of the given
ProjectionOperation . |
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.