Interface FieldsExposingAggregationOperation

All Superinterfaces:
AggregationOperation
All Known Subinterfaces:
FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation
All Known Implementing Classes:
AddFieldsOperation, BucketAutoOperation, BucketOperation, BucketOperationSupport, CountOperation, FacetOperation, GraphLookupOperation, GroupOperation, LookupOperation, MergeOperation, ProjectionOperation, ReplaceRootOperation, ReplaceRootOperation.ReplaceRootDocumentOperation, ReplaceWithOperation, SetOperation, SetWindowFieldsOperation, UnsetOperation, UnwindOperation

public interface FieldsExposingAggregationOperation extends AggregationOperation
AggregationOperation that exposes ExposedFields that can be used for later aggregation pipeline AggregationOperations. A FieldsExposingAggregationOperation implementing the FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation will expose fields from its parent operations. Not implementing FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation will replace existing exposed fields.
Author:
Thomas Darimont, Mark Paluch
  • Method Details

    • getFields

      ExposedFields getFields()
      Returns the fields exposed by the AggregationOperation.
      Returns:
      will never be null.
    • inheritsFields

      default boolean inheritsFields()
      Returns:
      true to conditionally inherit fields from previous operations.
      Since:
      2.0.6