Class BucketOperationSupport.Output
java.lang.Object
org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Output
- All Implemented Interfaces:
AggregationExpression
,MongoExpression
- Direct Known Subclasses:
BucketOperationSupport.OperationOutput
- Enclosing class:
- BucketOperationSupport<T extends BucketOperationSupport<T,
B>, B extends BucketOperationSupport.OutputBuilder<B, T>>
protected abstract static class BucketOperationSupport.Output
extends Object
implements AggregationExpression
Encapsulates an output field in a bucket aggregation stage.
Output fields can be either top-level fields that define a valid field name or nested output fields using operators.
Output fields can be either top-level fields that define a valid field name or nested output fields using operators.
- Author:
- Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField
Returns the field exposed by theBucketOperationSupport.Output
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.mongodb.core.aggregation.AggregationExpression
toDocument, toDocument
-
Constructor Details
-
Output
Creates newProjection
for the givenField
.- Parameters:
field
- must not be null.
-
-
Method Details
-
getExposedField
protected org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField getExposedField()Returns the field exposed by theBucketOperationSupport.Output
.- Returns:
- will never be null.
-