Uses of Interface
org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
Packages that use AggregationOperationContext
Package
Description
MongoDB core support.
Support for the MongoDB aggregation framework.
-
Uses of AggregationOperationContext in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core with parameters of type AggregationOperationContextModifier and TypeMethodDescriptionprotected <O> AggregationResults<O> MongoTemplate.aggregate(Aggregation aggregation, String collectionName, Class<O> outputType, @Nullable AggregationOperationContext context) protected <O> Stream<O> MongoTemplate.aggregateStream(Aggregation aggregation, String collectionName, Class<O> outputType, @Nullable AggregationOperationContext context) protected <O> AggregationResults<O> MongoTemplate.doAggregate(Aggregation aggregation, String collectionName, Class<O> outputType, AggregationOperationContext context) -
Uses of AggregationOperationContext in org.springframework.data.mongodb.core.aggregation
Classes in org.springframework.data.mongodb.core.aggregation that implement AggregationOperationContextModifier and TypeClassDescriptionclassAggregationOperationContextimplementation prefixing non-command keys on root level with the given prefix.classDeprecated.since 4.3.1classAggregationOperationContextaware of a particular type and aMappingContextto potentially translate property references into document field names.Fields in org.springframework.data.mongodb.core.aggregation declared as AggregationOperationContextModifier and TypeFieldDescriptionstatic final AggregationOperationContextAggregation.DEFAULT_CONTEXTMethods in org.springframework.data.mongodb.core.aggregation that return AggregationOperationContextModifier and TypeMethodDescriptiondefault AggregationOperationContextAggregationOperationContext.continueOnMissingFieldReference()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3.1,FieldLookupPolicyshould be specified explicitly when creating the AggregationOperationContext.TypeBasedAggregationOperationContext.continueOnMissingFieldReference()Deprecated, for removal: This API element is subject to removal in a future version.TypeBasedAggregationOperationContext.continueOnMissingFieldReference(Class<?> type) This toggle allows thecontextto use any given field name without checking for its existence.default AggregationOperationContextAggregationOperationContext.expose(ExposedFields fields) Create a nestedAggregationOperationContextfrom this context that exposesfields.TypeBasedAggregationOperationContext.expose(ExposedFields fields) default AggregationOperationContextAggregationOperationContext.inheritAndExpose(ExposedFields fields) Create a nestedAggregationOperationContextfrom this context that inherits exposed fields from this context and exposesfields.TypeBasedAggregationOperationContext.inheritAndExpose(ExposedFields fields) Methods in org.springframework.data.mongodb.core.aggregation with parameters of type AggregationOperationContextModifier and TypeMethodDescriptionBucketOperationSupport.OperationOutput.getOperationArguments(AggregationOperationContext context) EvaluationOperators.Expr.toCriteriaDefinition(AggregationOperationContext context) Creates$exprasCriteriaDefinition.AccumulatorOperators.Avg.toDocument(Object value, AggregationOperationContext context) AccumulatorOperators.Max.toDocument(Object value, AggregationOperationContext context) AccumulatorOperators.Max.toDocument(AggregationOperationContext context) AccumulatorOperators.Min.toDocument(Object value, AggregationOperationContext context) AccumulatorOperators.Min.toDocument(AggregationOperationContext context) AccumulatorOperators.StdDevPop.toDocument(Object value, AggregationOperationContext context) AccumulatorOperators.StdDevSamp.toDocument(Object value, AggregationOperationContext context) AccumulatorOperators.Sum.toDocument(Object value, AggregationOperationContext context) Aggregation.toDocument(String inputCollectionName, AggregationOperationContext rootContext) Converts thisAggregationspecification to aDocument.AggregationExpression.toDocument(AggregationOperationContext context) AggregationOperation.toDocument(AggregationOperationContext context) Deprecated.since 2.2 in favor ofAggregationOperation.toPipelineStages(AggregationOperationContext).AggregationSpELExpression.toDocument(AggregationOperationContext context) ArithmeticOperators.Rand.toDocument(AggregationOperationContext context) ArrayOperators.Filter.toDocument(AggregationOperationContext context) ArrayOperators.Reduce.PropertyExpression.toDocument(AggregationOperationContext context) ArrayOperators.Reduce.toDocument(AggregationOperationContext context) BucketAutoOperation.toDocument(AggregationOperationContext context) BucketOperation.toDocument(AggregationOperationContext context) BucketOperationSupport.OperationOutput.toDocument(AggregationOperationContext context) BucketOperationSupport.Outputs.toDocument(AggregationOperationContext context) BucketOperationSupport.toDocument(AggregationOperationContext context) ConditionalOperators.Cond.toDocument(AggregationOperationContext context) ConditionalOperators.IfNull.toDocument(AggregationOperationContext context) ConditionalOperators.Switch.CaseOperator.toDocument(AggregationOperationContext context) CountOperation.toDocument(AggregationOperationContext context) DensifyOperation.DensifyRange.toDocument(AggregationOperationContext ctx) DensifyOperation.Range.toDocument(AggregationOperationContext ctx) Obtain the document representation of the window in the givencontext.DensifyOperation.toDocument(AggregationOperationContext context) DocumentOperators.DenseRank.toDocument(AggregationOperationContext context) DocumentOperators.DocumentNumber.toDocument(AggregationOperationContext context) DocumentOperators.Rank.toDocument(AggregationOperationContext context) FacetOperation.toDocument(AggregationOperationContext context) GeoNearOperation.toDocument(AggregationOperationContext context) GraphLookupOperation.toDocument(AggregationOperationContext context) GroupOperation.toDocument(AggregationOperationContext context) LimitOperation.toDocument(AggregationOperationContext context) LookupOperation.toDocument(AggregationOperationContext context) MatchOperation.toDocument(AggregationOperationContext context) MergeOperation.toDocument(AggregationOperationContext context) MergeOperation.WhenDocumentsDontMatch.toDocument(AggregationOperationContext context) ObjectOperators.GetField.toDocument(AggregationOperationContext context) ObjectOperators.MergeObjects.toDocument(Object value, AggregationOperationContext context) ObjectOperators.SetField.toDocument(AggregationOperationContext context) OutOperation.toDocument(AggregationOperationContext context) ProjectionOperation.ProjectionOperationBuilder.toDocument(AggregationOperationContext context) ProjectionOperation.toDocument(AggregationOperationContext context) RedactOperation.toDocument(AggregationOperationContext context) ReplaceRootOperation.toDocument(AggregationOperationContext context) ReplaceWithOperation.toDocument(AggregationOperationContext context) SampleOperation.toDocument(AggregationOperationContext context) SetWindowFieldsOperation.DocumentWindow.toDocument(AggregationOperationContext ctx) SetWindowFieldsOperation.RangeWindow.toDocument(AggregationOperationContext ctx) SetWindowFieldsOperation.toDocument(AggregationOperationContext context) SetWindowFieldsOperation.Window.toDocument(AggregationOperationContext ctx) Obtain the document representation of the window in the givencontext.SkipOperation.toDocument(AggregationOperationContext context) SortByCountOperation.toDocument(AggregationOperationContext context) SortOperation.toDocument(AggregationOperationContext context) UnionWithOperation.toDocument(AggregationOperationContext context) UnsetOperation.toDocument(AggregationOperationContext context) UnwindOperation.toDocument(AggregationOperationContext context) VariableOperators.Let.toDocument(AggregationOperationContext context) VariableOperators.Map.toDocument(AggregationOperationContext context) VectorSearchOperation.toDocument(AggregationOperationContext context) ReplaceRootOperation.Replacement.toDocumentExpression(AggregationOperationContext context) Renders the currentReplaceRootOperation.Replacementinto a its MongoDB representation based on the givenAggregationOperationContext.Aggregation.toPipeline(AggregationOperationContext rootContext) AggregationOperation.toPipelineStages(AggregationOperationContext context) GeoNearOperation.toPipelineStages(AggregationOperationContext context) VectorSearchOperation.toPipelineStages(AggregationOperationContext context) Constructors in org.springframework.data.mongodb.core.aggregation with parameters of type AggregationOperationContextModifierConstructorDescriptionPrefixingDelegatingAggregationOperationContext(AggregationOperationContext delegate, String prefix) PrefixingDelegatingAggregationOperationContext(AggregationOperationContext delegate, String prefix, Collection<String> denylist) -
Uses of AggregationOperationContext in org.springframework.data.mongodb.util.aggregation
Classes in org.springframework.data.mongodb.util.aggregation that implement AggregationOperationContextMethods in org.springframework.data.mongodb.util.aggregation that return AggregationOperationContextModifier and TypeMethodDescriptionstatic AggregationOperationContextTestAggregationContext.contextFor(@Nullable Class<?> type) static AggregationOperationContextTestAggregationContext.contextFor(@Nullable Class<?> type, MongoConverter mongoConverter)