Uses of Interface
org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
Package
Description
MongoDB core support.
Support for the MongoDB aggregation framework.
-
Uses of AggregationOperationContext in org.springframework.data.mongodb.core
Modifier 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
Modifier and TypeClassDescriptionclass
AggregationOperationContext
implementation prefixing non-command keys on root level with the given prefix.class
Deprecated.since 4.3.1class
AggregationOperationContext
aware of a particular type and aMappingContext
to potentially translate property references into document field names.Modifier and TypeFieldDescriptionstatic final AggregationOperationContext
Aggregation.DEFAULT_CONTEXT
Modifier and TypeMethodDescriptiondefault AggregationOperationContext
AggregationOperationContext.continueOnMissingFieldReference()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.3.1,FieldLookupPolicy
should 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 thecontext
to use any given field name without checking for its existence.default AggregationOperationContext
AggregationOperationContext.expose
(ExposedFields fields) Create a nestedAggregationOperationContext
from this context that exposesfields
.TypeBasedAggregationOperationContext.expose
(ExposedFields fields) default AggregationOperationContext
AggregationOperationContext.inheritAndExpose
(ExposedFields fields) Create a nestedAggregationOperationContext
from this context that inherits exposed fields from this context and exposesfields
.TypeBasedAggregationOperationContext.inheritAndExpose
(ExposedFields fields) Modifier and TypeMethodDescriptionBucketOperationSupport.OperationOutput.getOperationArguments
(AggregationOperationContext context) EvaluationOperators.Expr.toCriteriaDefinition
(AggregationOperationContext context) Creates$expr
asCriteriaDefinition
.org.bson.Document
AccumulatorOperators.Avg.toDocument
(Object value, AggregationOperationContext context) org.bson.Document
AccumulatorOperators.Max.toDocument
(Object value, AggregationOperationContext context) org.bson.Document
AccumulatorOperators.Max.toDocument
(AggregationOperationContext context) org.bson.Document
AccumulatorOperators.Min.toDocument
(Object value, AggregationOperationContext context) org.bson.Document
AccumulatorOperators.Min.toDocument
(AggregationOperationContext context) org.bson.Document
AccumulatorOperators.StdDevPop.toDocument
(Object value, AggregationOperationContext context) org.bson.Document
AccumulatorOperators.StdDevSamp.toDocument
(Object value, AggregationOperationContext context) org.bson.Document
AccumulatorOperators.Sum.toDocument
(Object value, AggregationOperationContext context) org.bson.Document
Aggregation.toDocument
(String inputCollectionName, AggregationOperationContext rootContext) Converts thisAggregation
specification to aDocument
.org.bson.Document
AggregationExpression.toDocument
(AggregationOperationContext context) org.bson.Document
AggregationOperation.toDocument
(AggregationOperationContext context) Deprecated.since 2.2 in favor ofAggregationOperation.toPipelineStages(AggregationOperationContext)
.org.bson.Document
AggregationSpELExpression.toDocument
(AggregationOperationContext context) org.bson.Document
ArithmeticOperators.Rand.toDocument
(AggregationOperationContext context) org.bson.Document
ArrayOperators.Filter.toDocument
(AggregationOperationContext context) org.bson.Document
ArrayOperators.Reduce.PropertyExpression.toDocument
(AggregationOperationContext context) org.bson.Document
ArrayOperators.Reduce.toDocument
(AggregationOperationContext context) org.bson.Document
BucketAutoOperation.toDocument
(AggregationOperationContext context) org.bson.Document
BucketOperation.toDocument
(AggregationOperationContext context) org.bson.Document
BucketOperationSupport.OperationOutput.toDocument
(AggregationOperationContext context) org.bson.Document
BucketOperationSupport.Outputs.toDocument
(AggregationOperationContext context) org.bson.Document
BucketOperationSupport.toDocument
(AggregationOperationContext context) org.bson.Document
ConditionalOperators.Cond.toDocument
(AggregationOperationContext context) org.bson.Document
ConditionalOperators.IfNull.toDocument
(AggregationOperationContext context) org.bson.Document
ConditionalOperators.Switch.CaseOperator.toDocument
(AggregationOperationContext context) org.bson.Document
CountOperation.toDocument
(AggregationOperationContext context) org.bson.Document
DensifyOperation.DensifyRange.toDocument
(AggregationOperationContext ctx) org.bson.Document
DensifyOperation.Range.toDocument
(AggregationOperationContext ctx) Obtain the document representation of the window in the givencontext
.org.bson.Document
DensifyOperation.toDocument
(AggregationOperationContext context) org.bson.Document
DocumentOperators.DenseRank.toDocument
(AggregationOperationContext context) org.bson.Document
DocumentOperators.DocumentNumber.toDocument
(AggregationOperationContext context) org.bson.Document
DocumentOperators.Rank.toDocument
(AggregationOperationContext context) org.bson.Document
FacetOperation.toDocument
(AggregationOperationContext context) org.bson.Document
GeoNearOperation.toDocument
(AggregationOperationContext context) org.bson.Document
GraphLookupOperation.toDocument
(AggregationOperationContext context) org.bson.Document
GroupOperation.toDocument
(AggregationOperationContext context) org.bson.Document
LimitOperation.toDocument
(AggregationOperationContext context) org.bson.Document
LookupOperation.toDocument
(AggregationOperationContext context) org.bson.Document
MatchOperation.toDocument
(AggregationOperationContext context) org.bson.Document
MergeOperation.toDocument
(AggregationOperationContext context) org.bson.Document
MergeOperation.WhenDocumentsDontMatch.toDocument
(AggregationOperationContext context) org.bson.Document
ObjectOperators.GetField.toDocument
(AggregationOperationContext context) org.bson.Document
ObjectOperators.MergeObjects.toDocument
(Object value, AggregationOperationContext context) org.bson.Document
ObjectOperators.SetField.toDocument
(AggregationOperationContext context) org.bson.Document
OutOperation.toDocument
(AggregationOperationContext context) org.bson.Document
ProjectionOperation.ProjectionOperationBuilder.toDocument
(AggregationOperationContext context) org.bson.Document
ProjectionOperation.toDocument
(AggregationOperationContext context) org.bson.Document
RedactOperation.toDocument
(AggregationOperationContext context) org.bson.Document
ReplaceRootOperation.toDocument
(AggregationOperationContext context) org.bson.Document
ReplaceWithOperation.toDocument
(AggregationOperationContext context) org.bson.Document
SampleOperation.toDocument
(AggregationOperationContext context) org.bson.Document
SetWindowFieldsOperation.DocumentWindow.toDocument
(AggregationOperationContext ctx) org.bson.Document
SetWindowFieldsOperation.RangeWindow.toDocument
(AggregationOperationContext ctx) org.bson.Document
SetWindowFieldsOperation.toDocument
(AggregationOperationContext context) org.bson.Document
SetWindowFieldsOperation.Window.toDocument
(AggregationOperationContext ctx) Obtain the document representation of the window in the givencontext
.org.bson.Document
SkipOperation.toDocument
(AggregationOperationContext context) org.bson.Document
SortByCountOperation.toDocument
(AggregationOperationContext context) org.bson.Document
SortOperation.toDocument
(AggregationOperationContext context) org.bson.Document
UnionWithOperation.toDocument
(AggregationOperationContext context) org.bson.Document
UnsetOperation.toDocument
(AggregationOperationContext context) org.bson.Document
UnwindOperation.toDocument
(AggregationOperationContext context) org.bson.Document
VariableOperators.Let.toDocument
(AggregationOperationContext context) org.bson.Document
VariableOperators.Map.toDocument
(AggregationOperationContext context) ReplaceRootOperation.Replacement.toDocumentExpression
(AggregationOperationContext context) Renders the currentReplaceRootOperation.Replacement
into 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) ModifierConstructorDescriptionPrefixingDelegatingAggregationOperationContext
(AggregationOperationContext delegate, String prefix) PrefixingDelegatingAggregationOperationContext
(AggregationOperationContext delegate, String prefix, Collection<String> denylist) -
Uses of AggregationOperationContext in org.springframework.data.mongodb.util.aggregation
Modifier and TypeMethodDescriptionstatic AggregationOperationContext
TestAggregationContext.contextFor
(Class<?> type) static AggregationOperationContext
TestAggregationContext.contextFor
(Class<?> type, MongoConverter mongoConverter)