Spring Data MongoDB - Core

Deprecated API


Contents
Deprecated Interfaces
org.springframework.data.mongodb.core.geo.Metric
          As of release 1.5, replaced by Metric. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.Shape
          As of release 1.5, replaced by Shape. This class is scheduled to be removed in the next major release. 
 

Deprecated Classes
org.springframework.data.mongodb.core.geo.Box
          As of release 1.5, replaced by Box. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.Circle
          As of release 1.5, replaced by Circle. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.CustomMetric
          As of release 1.5, replaced by Metric. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.Distance
          As of release 1.5, replaced by Distance. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.GeoPage
          As of release 1.5, replaced by GeoPage. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.GeoResult
          As of release 1.5, replaced by GeoResult. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.GeoResults
          As of release 1.5, replaced by GeoResults. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.Point
          As of release 1.5, replaced by Point. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.geo.Polygon
          As of release 1.5, replaced by Point. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.repository.query.QueryUtils
           
 

Deprecated Enums
org.springframework.data.mongodb.core.geo.Metrics
          As of release 1.5, replaced by Metrics. This class is scheduled to be removed in the next major release. 
org.springframework.data.mongodb.core.query.Order
          prefer Sort.Direction 
 

Deprecated Annotation Types
org.springframework.data.mongodb.core.mapping.Version
          use Version instead. 
 

Deprecated Methods
org.springframework.data.mongodb.core.index.IndexField.create(String, Order)
          use #create(String, Direction). 
org.springframework.data.mongodb.core.query.NearQuery.distanceMultiplier(Metric)
          use NearQuery.in(Metric) instead. 
org.springframework.data.mongodb.core.MongoAction.getEntityClass()
          use MongoAction.getEntityType() instead. 
org.springframework.data.mongodb.core.index.IndexField.getOrder()
          use IndexField.getDirection() instead. 
org.springframework.data.mongodb.core.query.Query.isRestrictedTypeKey(String)
          don't call this method as the restricted type handling will undergo some significant changes going forward. 
org.springframework.data.mongodb.core.index.Index.on(String, Order)
          use #on(String, Direction) instead. 
org.springframework.data.mongodb.core.MongoFactoryBean.setReplicaPair(ServerAddress[])
          use MongoFactoryBean.setReplicaSetSeeds(ServerAddress[]) instead 
org.springframework.data.mongodb.repository.query.QueryUtils.toOrder(Sort.Order)
          use Sort.Order directly. 
org.springframework.data.mongodb.core.query.Criteria.withinSphere(Circle)
          As of 1.5, Use Criteria.withinSphere(Circle). This method is scheduled to be removed in the next major release. 
 

Deprecated Constructors
org.springframework.data.mongodb.core.index.Index(String, Order)
          use #Index(String, Direction) instead. 
org.springframework.data.mongodb.core.convert.MappingMongoConverter(MongoDbFactory, MappingContext, MongoPersistentProperty>)
          use the constructor taking a DbRefResolver instead. 
org.springframework.data.mongodb.core.geo.Sphere(Circle)
           
 

Deprecated Annotation Type Elements
org.springframework.data.mongodb.core.index.CompoundIndex.direction
           
 


Spring Data MongoDB - Core

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.