|
Spring Data Graph | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MongoReader | |
---|---|
org.springframework.data.document.mongodb | MongoDB core support. |
Uses of MongoReader in org.springframework.data.document.mongodb |
---|
Subinterfaces of MongoReader in org.springframework.data.document.mongodb | |
---|---|
interface |
MongoConverter
|
interface |
MongoReaderWriter<T>
|
Classes in org.springframework.data.document.mongodb that implement MongoReader | |
---|---|
class |
SimpleMongoConverter
Basic MongoConverter implementation to convert between domain classes and DBObject s. |
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.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.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. |
|
Spring Data Graph | |||||||||
PREV NEXT | FRAMES NO FRAMES |