|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mongodb.repository.support.QuerydslRepositorySupport
public abstract class QuerydslRepositorySupport
Base class to create repository implementations based on Querydsl.
| Constructor Summary | |
|---|---|
QuerydslRepositorySupport(MongoOperations operations)
Creates a new QuerydslRepositorySupport for the given MongoOperations. |
|
| Method Summary | ||
|---|---|---|
protected
|
from(com.mysema.query.types.EntityPath<T> path)
Returns a MongodbQuery for the given EntityPath. |
|
protected
|
from(com.mysema.query.types.EntityPath<T> path,
String collection)
Returns a MongodbQuery for the given EntityPath querying the given collection. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuerydslRepositorySupport(MongoOperations operations)
QuerydslRepositorySupport for the given MongoOperations.
operations - must not be null| Method Detail |
|---|
protected <T> com.mysema.query.mongodb.MongodbQuery<T> from(com.mysema.query.types.EntityPath<T> path)
MongodbQuery for the given EntityPath. The collection being queried is derived from the
entity metadata.
path -
protected <T> com.mysema.query.mongodb.MongodbQuery<T> from(com.mysema.query.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 null
|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||