Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 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 3.4 in favor of
org.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 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.1, useAggregationOptions.getHintObject()
instead.since MongoDB server version 4.4since MongoDB server version 4.4org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean.setStreamFactoryFactory(Object) since 4.3, will be removed in the MongoDB 5.0 driver in favor ofcom.mongodb.connection.TransportSettings
.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)
.since 4.3, useParameterBindingContext(ValueProvider, ValueExpressionEvaluator)
instead.since 4.3, useParameterBindingContext(ValueProvider, ExpressionParser, Supplier)
instead.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionsince MongoDB server version 4.4
MappingMongoConverterParser.potentiallyCreateMappingContext(Element, ParserContext, BeanDefinition, String, boolean)
instead.