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> SpringDataMongodbQuery<T> |
from(com.querydsl.core.types.EntityPath<T> path)
Returns a
SpringDataMongodbQuery for the given EntityPath. |
protected <T> SpringDataMongodbQuery<T> |
from(com.querydsl.core.types.EntityPath<T> path,
String collection)
Returns a
SpringDataMongodbQuery for the given EntityPath querying the given collection. |
public QuerydslRepositorySupport(MongoOperations operations)
QuerydslRepositorySupport for the given MongoOperations.operations - must not be null.protected <T> SpringDataMongodbQuery<T> from(com.querydsl.core.types.EntityPath<T> path)
SpringDataMongodbQuery for the given EntityPath. The collection being queried is derived from the
entity metadata.path - protected <T> SpringDataMongodbQuery<T> from(com.querydsl.core.types.EntityPath<T> path, String collection)
SpringDataMongodbQuery for the given EntityPath querying the given collection.path - must not be nullcollection - must not be blank or nullCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.