public abstract class QuerydslRepositorySupport extends Object
| Constructor and Description |
|---|
QuerydslRepositorySupport(MongoOperations operations)
Creates a new
QuerydslRepositorySupport for the given MongoOperations. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> com.querydsl.mongodb.AbstractMongodbQuery<T,SpringDataMongodbQuery<T>> |
from(com.querydsl.core.types.EntityPath<T> path)
Returns a
MongodbQuery for the given EntityPath. |
protected <T> com.querydsl.mongodb.AbstractMongodbQuery<T,SpringDataMongodbQuery<T>> |
from(com.querydsl.core.types.EntityPath<T> path,
String collection)
Returns a
MongodbQuery for the given EntityPath querying the given collection. |
public QuerydslRepositorySupport(MongoOperations operations)
QuerydslRepositorySupport for the given MongoOperations.operations - must not be null.protected <T> com.querydsl.mongodb.AbstractMongodbQuery<T,SpringDataMongodbQuery<T>> from(com.querydsl.core.types.EntityPath<T> path)
MongodbQuery for the given EntityPath. The collection being queried is derived from the
entity metadata.path - protected <T> com.querydsl.mongodb.AbstractMongodbQuery<T,SpringDataMongodbQuery<T>> from(com.querydsl.core.types.EntityPath<T> path, String collection)
MongodbQuery for the given EntityPath querying the given collection.path - must not be nullcollection - must not be blank or nullCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.