Spring Data MongoDB

Deprecated API


Contents
Deprecated Classes
org.springframework.data.mongodb.repository.query.QueryUtils
           
 

Deprecated Enums
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. 
 

Deprecated Constructors
org.springframework.data.mongodb.core.index.Index(String, Order)
          use #Index(String, Direction) instead. 
 

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


Spring Data MongoDB

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.