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, AggregationOperationContext context) protected <O> Stream<O>MongoTemplate.aggregateStream(Aggregation aggregation, String collectionName, Class<O> outputType, 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.org.bson.DocumentAccumulatorOperators.Avg.toDocument(Object value, AggregationOperationContext context) org.bson.DocumentAccumulatorOperators.Max.toDocument(Object value, AggregationOperationContext context) org.bson.DocumentAccumulatorOperators.Max.toDocument(AggregationOperationContext context) org.bson.DocumentAccumulatorOperators.Min.toDocument(Object value, AggregationOperationContext context) org.bson.DocumentAccumulatorOperators.Min.toDocument(AggregationOperationContext context) org.bson.DocumentAccumulatorOperators.StdDevPop.toDocument(Object value, AggregationOperationContext context) org.bson.DocumentAccumulatorOperators.StdDevSamp.toDocument(Object value, AggregationOperationContext context) org.bson.DocumentAccumulatorOperators.Sum.toDocument(Object value, AggregationOperationContext context) org.bson.DocumentAggregation.toDocument(String inputCollectionName, AggregationOperationContext rootContext) Converts thisAggregationspecification to aDocument.org.bson.DocumentAggregationExpression.toDocument(AggregationOperationContext context) org.bson.DocumentAggregationOperation.toDocument(AggregationOperationContext context) Deprecated.since 2.2 in favor ofAggregationOperation.toPipelineStages(AggregationOperationContext).org.bson.DocumentAggregationSpELExpression.toDocument(AggregationOperationContext context) org.bson.DocumentArithmeticOperators.Rand.toDocument(AggregationOperationContext context) org.bson.DocumentArrayOperators.Filter.toDocument(AggregationOperationContext context) org.bson.DocumentArrayOperators.Reduce.PropertyExpression.toDocument(AggregationOperationContext context) org.bson.DocumentArrayOperators.Reduce.toDocument(AggregationOperationContext context) org.bson.DocumentBucketAutoOperation.toDocument(AggregationOperationContext context) org.bson.DocumentBucketOperation.toDocument(AggregationOperationContext context) org.bson.DocumentBucketOperationSupport.OperationOutput.toDocument(AggregationOperationContext context) org.bson.DocumentBucketOperationSupport.Outputs.toDocument(AggregationOperationContext context) org.bson.DocumentBucketOperationSupport.toDocument(AggregationOperationContext context) org.bson.DocumentConditionalOperators.Cond.toDocument(AggregationOperationContext context) org.bson.DocumentConditionalOperators.IfNull.toDocument(AggregationOperationContext context) org.bson.DocumentConditionalOperators.Switch.CaseOperator.toDocument(AggregationOperationContext context) org.bson.DocumentCountOperation.toDocument(AggregationOperationContext context) org.bson.DocumentDensifyOperation.DensifyRange.toDocument(AggregationOperationContext ctx) org.bson.DocumentDensifyOperation.Range.toDocument(AggregationOperationContext ctx) Obtain the document representation of the window in the givencontext.org.bson.DocumentDensifyOperation.toDocument(AggregationOperationContext context) org.bson.DocumentDocumentOperators.DenseRank.toDocument(AggregationOperationContext context) org.bson.DocumentDocumentOperators.DocumentNumber.toDocument(AggregationOperationContext context) org.bson.DocumentDocumentOperators.Rank.toDocument(AggregationOperationContext context) org.bson.DocumentFacetOperation.toDocument(AggregationOperationContext context) org.bson.DocumentGeoNearOperation.toDocument(AggregationOperationContext context) org.bson.DocumentGraphLookupOperation.toDocument(AggregationOperationContext context) org.bson.DocumentGroupOperation.toDocument(AggregationOperationContext context) org.bson.DocumentLimitOperation.toDocument(AggregationOperationContext context) org.bson.DocumentLookupOperation.toDocument(AggregationOperationContext context) org.bson.DocumentMatchOperation.toDocument(AggregationOperationContext context) org.bson.DocumentMergeOperation.toDocument(AggregationOperationContext context) org.bson.DocumentMergeOperation.WhenDocumentsDontMatch.toDocument(AggregationOperationContext context) org.bson.DocumentObjectOperators.GetField.toDocument(AggregationOperationContext context) org.bson.DocumentObjectOperators.MergeObjects.toDocument(Object value, AggregationOperationContext context) org.bson.DocumentObjectOperators.SetField.toDocument(AggregationOperationContext context) org.bson.DocumentOutOperation.toDocument(AggregationOperationContext context) org.bson.DocumentProjectionOperation.ProjectionOperationBuilder.toDocument(AggregationOperationContext context) org.bson.DocumentProjectionOperation.toDocument(AggregationOperationContext context) org.bson.DocumentRedactOperation.toDocument(AggregationOperationContext context) org.bson.DocumentReplaceRootOperation.toDocument(AggregationOperationContext context) org.bson.DocumentReplaceWithOperation.toDocument(AggregationOperationContext context) org.bson.DocumentSampleOperation.toDocument(AggregationOperationContext context) org.bson.DocumentSetWindowFieldsOperation.DocumentWindow.toDocument(AggregationOperationContext ctx) org.bson.DocumentSetWindowFieldsOperation.RangeWindow.toDocument(AggregationOperationContext ctx) org.bson.DocumentSetWindowFieldsOperation.toDocument(AggregationOperationContext context) org.bson.DocumentSetWindowFieldsOperation.Window.toDocument(AggregationOperationContext ctx) Obtain the document representation of the window in the givencontext.org.bson.DocumentSkipOperation.toDocument(AggregationOperationContext context) org.bson.DocumentSortByCountOperation.toDocument(AggregationOperationContext context) org.bson.DocumentSortOperation.toDocument(AggregationOperationContext context) org.bson.DocumentUnionWithOperation.toDocument(AggregationOperationContext context) org.bson.DocumentUnsetOperation.toDocument(AggregationOperationContext context) org.bson.DocumentUnwindOperation.toDocument(AggregationOperationContext context) org.bson.DocumentVariableOperators.Let.toDocument(AggregationOperationContext context) org.bson.DocumentVariableOperators.Map.toDocument(AggregationOperationContext context) ReplaceRootOperation.Replacement.toDocumentExpression(AggregationOperationContext context) Renders the currentReplaceRootOperation.Replacementinto a its MongoDB representation based on the givenAggregationOperationContext.List<org.bson.Document>Aggregation.toPipeline(AggregationOperationContext rootContext) default List<org.bson.Document>AggregationOperation.toPipelineStages(AggregationOperationContext context) List<org.bson.Document>GeoNearOperation.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(Class<?> type) static AggregationOperationContextTestAggregationContext.contextFor(Class<?> type, MongoConverter mongoConverter)