|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 com.mongodb.WriteResult |
MongoTemplate.doUpdate(java.lang.String collectionName,
Query query,
Update update,
java.lang.Class<?> entityClass,
boolean upsert,
boolean multi)
|
|
|
MongoTemplate.find(Query query,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.find(Query query,
java.lang.Class<T> targetClass)
Map the results of an ad-hoc query on the default MongoDB collection to a List of the specified type. |
|
|
MongoTemplate.find(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.find(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
Map the results of an ad-hoc query on the specified collection to a List of the specified type. |
|
|
MongoTemplate.find(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass,
CursorPreparer preparer)
|
|
|
MongoOperations.find(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass,
CursorPreparer preparer)
Map the results of an ad-hoc query on the specified collection to a List of the specified type. |
|
|
MongoTemplate.findAndRemove(Query query,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.findAndRemove(Query query,
java.lang.Class<T> targetClass)
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(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.findAndRemove(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
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,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.findOne(Query query,
java.lang.Class<T> targetClass)
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(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.findOne(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type. |
|
void |
MongoTemplate.remove(Query query)
|
|
void |
MongoOperations.remove(Query query)
Remove all documents from the default collection that match the provided query document criteria. |
|
|
MongoTemplate.remove(Query query,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.remove(Query query,
java.lang.Class<T> targetClass)
Remove all documents from the default collection that match the provided query document criteria. |
|
void |
MongoTemplate.remove(java.lang.String collectionName,
Query query)
|
|
void |
MongoOperations.remove(java.lang.String collectionName,
Query query)
Remove all documents from the specified collection that match the provided query document criteria. |
|
|
MongoTemplate.remove(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
|
|
|
MongoOperations.remove(java.lang.String collectionName,
Query query,
java.lang.Class<T> targetClass)
Remove all documents from the specified collection that match the provided query document criteria. |
|
com.mongodb.WriteResult |
MongoTemplate.updateFirst(java.lang.Class<?> entityClass,
Query query,
Update update)
|
|
com.mongodb.WriteResult |
MongoOperations.updateFirst(java.lang.Class<?> entityClass,
Query query,
Update update)
Updates the first object that is found in the default collection that matches the query document with the provided updated document. |
|
com.mongodb.WriteResult |
MongoTemplate.updateFirst(java.lang.String collectionName,
Query query,
Update update)
|
|
com.mongodb.WriteResult |
MongoOperations.updateFirst(java.lang.String collectionName,
Query query,
Update update)
Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document. |
|
com.mongodb.WriteResult |
MongoTemplate.updateMulti(java.lang.Class<?> entityClass,
Query query,
Update update)
|
|
com.mongodb.WriteResult |
MongoOperations.updateMulti(java.lang.Class<?> entityClass,
Query query,
Update update)
Updates all objects that are found in the default collection that matches the query document criteria with the provided updated document. |
|
com.mongodb.WriteResult |
MongoTemplate.updateMulti(java.lang.String collectionName,
Query query,
Update update)
|
|
com.mongodb.WriteResult |
MongoOperations.updateMulti(java.lang.String collectionName,
Query query,
Update update)
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 |
BasicQuery.addCriteria(Criteria criteria)
|
Query |
Query.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(java.util.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 abstract Query |
AbstractMongoQuery.createQuery(ConvertingParameterAccessor accessor)
Create a Query instance using the given ParameterAccessor |
protected Query |
PartTreeMongoQuery.createQuery(ConvertingParameterAccessor accessor)
|
protected Query |
StringBasedMongoQuery.createQuery(ConvertingParameterAccessor accessor)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |