Spring Data Document

Uses of Class
org.springframework.data.document.mongodb.query.Query

Packages that use Query
org.springframework.data.document.mongodb MongoDB core support. 
org.springframework.data.document.mongodb.query MongoDB specific query and update support. 
org.springframework.data.document.mongodb.repository MongoDB specific repository implementation. 
 

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

Methods in org.springframework.data.document.mongodb with parameters of type Query
protected
<T> void
MongoTemplate.doRemove(String collectionName, Query query, Class<T> entityClass)
           
protected  WriteResult MongoTemplate.doUpdate(String collectionName, Query query, Update update, Class<?> entityClass, boolean upsert, boolean multi)
           
<T> List<T>
MongoTemplate.find(Query query, Class<T> entityClass)
           
<T> List<T>
MongoOperations.find(Query query, Class<T> entityClass)
          Map the results of an ad-hoc query on the collection for the entity class to a List of the specified type.
<T> List<T>
MongoTemplate.find(Query query, Class<T> entityClass, CursorPreparer preparer, String collectionName)
           
<T> List<T>
MongoOperations.find(Query query, Class<T> entityClass, CursorPreparer preparer, String collectionName)
          Map the results of an ad-hoc query on the specified collection to a List of the specified type.
<T> List<T>
MongoTemplate.find(Query query, Class<T> entityClass, String collectionName)
           
<T> List<T>
MongoOperations.find(Query query, Class<T> entityClass, String collectionName)
          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> entityClass)
           
<T> T
MongoOperations.findAndRemove(Query query, Class<T> entityClass)
          Map the results of an ad-hoc query on the collection for the entity type to a single instance of an object of the specified type.
<T> T
MongoTemplate.findAndRemove(Query query, Class<T> entityClass, String collectionName)
           
<T> T
MongoOperations.findAndRemove(Query query, Class<T> entityClass, String collectionName)
          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> entityClass)
           
<T> T
MongoOperations.findOne(Query query, Class<T> entityClass)
          Map the results of an ad-hoc query on the collection for the entity class to a single instance of an object of the specified type.
<T> T
MongoTemplate.findOne(Query query, Class<T> entityClass, String collectionName)
           
<T> T
MongoOperations.findOne(Query query, Class<T> entityClass, String collectionName)
          Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type.
<T> void
MongoTemplate.remove(Query query, Class<T> entityClass)
           
<T> void
MongoOperations.remove(Query query, Class<T> entityClass)
          Remove all documents that match the provided query document criteria from the the collection used to store the entityClass.
 void MongoTemplate.remove(Query query, String collectionName)
           
 void MongoOperations.remove(Query query, String collectionName)
          Remove all documents from the specified collection that match the provided query document criteria.
 WriteResult MongoTemplate.updateFirst(Query query, Update update, Class<?> entityClass)
           
 WriteResult MongoOperations.updateFirst(Query query, Update update, Class<?> entityClass)
          Updates the first object that is found in the collection of the entity class that matches the query document with the provided update document.
 WriteResult MongoTemplate.updateFirst(Query query, Update update, String collectionName)
           
 WriteResult MongoOperations.updateFirst(Query query, Update update, String collectionName)
          Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.
 WriteResult MongoTemplate.updateMulti(Query query, Update update, Class<?> entityClass)
           
 WriteResult MongoOperations.updateMulti(Query query, Update update, Class<?> entityClass)
          Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.
 WriteResult MongoTemplate.updateMulti(Query query, Update update, String collectionName)
           
 WriteResult MongoOperations.updateMulti(Query query, Update update, String collectionName)
          Updates all objects that are found in the specified collection that matches the query document criteria with the provided updated document.
 

Uses of Query in org.springframework.data.document.mongodb.query
 

Subclasses of Query in org.springframework.data.document.mongodb.query
 class BasicQuery
           
 class NorQuery
           
 class OrQuery
           
 

Methods in org.springframework.data.document.mongodb.query that return Query
 Query Query.addCriteria(Criteria criteria)
           
 Query BasicQuery.addCriteria(Criteria criteria)
           
 Query Query.limit(int limit)
           
 Query Query.nor(Query... queries)
           
 Query Query.or(Query... queries)
           
static Query Query.query(Criteria critera)
          Static factory method to create a Query using the provided criteria
 Query Query.skip(int skip)
           
 

Methods in org.springframework.data.document.mongodb.query with parameters of type Query
 Query Query.nor(Query... queries)
           
 Query Query.or(Query... queries)
           
 

Method parameters in org.springframework.data.document.mongodb.query with type arguments of type Query
 void Criteria.or(List<Query> queries)
          Creates an or query using the $or operator for all of the provided queries
 

Constructors in org.springframework.data.document.mongodb.query with parameters of type Query
NorCriteria(Query[] queries)
           
NorQuery(Query... q)
           
OrCriteria(Query[] queries)
           
OrQuery(Query... q)
           
 

Uses of Query in org.springframework.data.document.mongodb.repository
 

Methods in org.springframework.data.document.mongodb.repository that return Query
protected  Query StringBasedMongoQuery.createQuery(ConvertingParameterAccessor accessor)
           
protected  Query PartTreeMongoQuery.createQuery(ConvertingParameterAccessor accessor)
           
protected abstract  Query AbstractMongoQuery.createQuery(ConvertingParameterAccessor accessor)
          Create a Query instance using the given ParameterAccessor
 


Spring Data Document

Copyright © 2011. All Rights Reserved.