Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 4.3.1,
FieldLookupPolicy
should be specified explicitly when creating the AggregationOperationContext.since 4.4 - Please useIndexed.expireAfter()
instead.since 4.5, in favor ofIndexOperations.createIndex(IndexDefinition)
.since 4.5, in favor ofReactiveIndexOperations.createIndex(IndexDefinition)
.since 4.5since 4.1.1since 4.2.0
-
Deprecated PackagesPackageDescriptionsince MongoDB server version 5.0
-
Deprecated InterfacesInterfaceDescriptionsince 4.0 in favor of
org.springframework.data.mongodb.core.aggregation
.since 2.2. Theeval
command has been removed without replacement in MongoDB Server 4.2.0.
-
Deprecated ClassesClassDescriptionsince 4.3.1since 4.5, use
ValidatingEntityCallback
respectivelyReactiveValidatingEntityCallback
instead to ensure ordering and interruption of saving when encountering validation constraint violations.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation
.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation
.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation
.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation
.since 4.5since 2.2. Theeval
command has been removed without replacement in MongoDB Server 4.2.0.since 2.2. Theeval
command has been removed without replacement in MongoDB Server 4.2.0.since 4.2.0
-
Deprecated MethodsMethodDescriptionsince 2.2 in favor of
AggregationOperation.toPipelineStages(AggregationOperationContext)
.since 4.3.1,FieldLookupPolicy
should be specified explicitly when creating the AggregationOperationContext.since 4.1, useAggregationOptions.getHintObject()
instead.since 4.4 - Please useIndexed.expireAfter()
instead.since 4.5, in favor ofIndexOperations.createIndex(IndexDefinition)
.since 4.5, in favor ofReactiveIndexOperations.createIndex(IndexDefinition)
.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class)
.since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class)
.since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class)
.since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class)
.since 2.2. Theeval
command has been removed without replacement in MongoDB Server 4.2.0.since 3.4 in favor ofMongoTemplate.aggregate(TypedAggregation, Class)
.since 4.1.1don't call this method as the restricted type handling will undergo some significant changes going forward.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 3.4 in favor ofReactiveMongoOperations.aggregate(TypedAggregation, Class)
.since 3.4 in favor ofReactiveMongoOperations.aggregate(TypedAggregation, Class)
.
-
Deprecated ConstructorsConstructorDescriptionuse the constructor taking a
DbRefResolver
instead.since 2.1. Please useDefaultIndexOperations(MongoOperations, String, Class)
.since 2.1. Please useDefaultIndexOperations(MongoOperations, String, Class)
.
-
Deprecated Annotation Interface Elements
MappingMongoConverterParser.potentiallyCreateMappingContext(Element, ParserContext, BeanDefinition, String, boolean)
instead.