|
Spring Data Document | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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
|
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
|
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
|
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. |
|
|
MongoTemplate.find(Query query,
Class<T> targetClass,
MongoReader<T> reader)
|
|
|
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. |
|
|
MongoTemplate.find(String collectionName,
Query query,
Class<T> targetClass,
MongoReader<T> reader)
|
|
|
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. |
|
|
MongoTemplate.findAndRemove(Query query,
Class<T> targetClass,
MongoReader<T> reader)
|
|
|
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. |
|
|
MongoTemplate.findAndRemove(String collectionName,
Query query,
Class<T> targetClass,
MongoReader<T> reader)
|
|
|
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. |
|
|
MongoTemplate.findOne(Query query,
Class<T> targetClass,
MongoReader<T> reader)
|
|
|
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. |
|
|
MongoTemplate.findOne(String collectionName,
Query query,
Class<T> targetClass,
MongoReader<T> reader)
|
|
|
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. |
|
|
MongoTemplate.getCollection(String collectionName,
Class<T> targetClass,
MongoReader<T> reader)
|
|
|
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 DBObject s. |
|
Spring Data Document | |||||||||
PREV NEXT | FRAMES NO FRAMES |