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.
Author:
Mark Paluch
  • Constructor Details

    • Output

      protected Output(Field field)
      Creates new Projection for the given Field.
      Parameters:
      field - must not be null.
  • Method Details

    • getExposedField

      protected org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField getExposedField()
      Returns the field exposed by the BucketOperationSupport.Output.
      Returns:
      will never be null.