Spring Data Document

Uses of Interface
org.springframework.data.document.mongodb.MongoReader

Packages that use MongoReader
org.springframework.data.document.mongodb MongoDB core support. 
org.springframework.data.document.mongodb.convert   
 

Uses of MongoReader in org.springframework.data.document.mongodb
 

Subinterfaces of MongoReader in org.springframework.data.document.mongodb
 interface MongoReaderWriter<T>
           
 

Methods in org.springframework.data.document.mongodb with parameters of type MongoReader
protected
<T> List<T>
MongoTemplate.doFind(String collectionName, DBObject query, DBObject fields, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the default MongoDB collection to a List using the provided MongoReader

The query document is specified as a standard DBObject and so is the fields specification.

protected
<T> T
MongoTemplate.doFindAndRemove(String collectionName, DBObject query, DBObject fields, DBObject sort, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the default MongoDB collection to an object using the provided MongoReader The first document that matches the query is returned and also removed from the collection in the database.
protected
<T> T
MongoTemplate.doFindOne(String collectionName, DBObject query, DBObject fields, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the default MongoDB collection to an object using the provided MongoReader

The query document is specified as a standard DBObject and so is the fields specification.

<T> List<T>
MongoTemplate.find(Query query, Class<T> targetClass, MongoReader<T> reader)
           
<T> List<T>
MongoOperations.find(Query query, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the default MongoDB collection to a List of the specified type.
<T> List<T>
MongoTemplate.find(String collectionName, Query query, Class<T> targetClass, MongoReader<T> reader)
           
<T> List<T>
MongoOperations.find(String collectionName, Query query, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the specified collection to a List of the specified type.
<T> T
MongoTemplate.findAndRemove(Query query, Class<T> targetClass, MongoReader<T> reader)
           
<T> T
MongoOperations.findAndRemove(Query query, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the default MongoDB collection to a single instance of an object of the specified type.
<T> T
MongoTemplate.findAndRemove(String collectionName, Query query, Class<T> targetClass, MongoReader<T> reader)
           
<T> T
MongoOperations.findAndRemove(String collectionName, Query query, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type.
<T> T
MongoTemplate.findOne(Query query, Class<T> targetClass, MongoReader<T> reader)
           
<T> T
MongoOperations.findOne(Query query, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the default MongoDB collection to a single instance of an object of the specified type.
<T> T
MongoTemplate.findOne(String collectionName, Query query, Class<T> targetClass, MongoReader<T> reader)
           
<T> T
MongoOperations.findOne(String collectionName, Query query, Class<T> targetClass, MongoReader<T> reader)
          Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type.
<T> List<T>
MongoTemplate.getCollection(String collectionName, Class<T> targetClass, MongoReader<T> reader)
           
<T> List<T>
MongoOperations.getCollection(String collectionName, Class<T> targetClass, MongoReader<T> reader)
          Query for a list of objects of type T from the specified collection, mapping the DBObject using the provided MongoReader.
protected  void MongoTemplate.substituteMappedIdIfNecessary(DBObject query, Class<?> targetClass, MongoReader<?> reader)
          Substitutes the id key if it is found in he query.
 

Uses of MongoReader in org.springframework.data.document.mongodb.convert
 

Subinterfaces of MongoReader in org.springframework.data.document.mongodb.convert
 interface MongoConverter
           
 

Classes in org.springframework.data.document.mongodb.convert that implement MongoReader
 class MappingMongoConverter
          MongoConverter that uses a MappingContext to do sophisticated mapping of domain objects to DBObject.
 class SimpleMongoConverter
          Basic MongoConverter implementation to convert between domain classes and DBObjects.
 


Spring Data Document

Copyright © 2011. All Rights Reserved.