SimpleMongoRepository
. Use QuerydslMongoPredicateExecutor
for standalone
Querydsl Predicate
execution.@Deprecated public class QuerydslMongoRepository<T,ID extends Serializable> extends QuerydslMongoPredicateExecutor<T> implements org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
Predicate
s in various forms.Constructor and Description |
---|
QuerydslMongoRepository(MongoEntityInformation<T,?> entityInformation,
MongoOperations mongoOperations)
Deprecated.
|
QuerydslMongoRepository(MongoEntityInformation<T,?> entityInformation,
MongoOperations mongoOperations,
org.springframework.data.querydsl.EntityPathResolver resolver)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.data.mongodb.repository.support.SpringDataMongodbSerializer |
mongodbSerializer() |
protected static <E> com.querydsl.core.types.dsl.PathBuilder<E> |
pathBuilderFor(com.querydsl.core.types.EntityPath<E> path) |
protected com.querydsl.core.types.OrderSpecifier<?> |
toOrder(org.springframework.data.domain.Sort.Order order)
Transforms a plain
Sort.Order into a Querydsl specific OrderSpecifier . |
protected List<com.querydsl.core.types.OrderSpecifier<?>> |
toOrderSpecifiers(org.springframework.data.domain.Sort sort)
Converts the given
Sort to OrderSpecifier . |
protected org.springframework.data.repository.core.EntityInformation<T,?> |
typeInformation() |
count, exists, findAll, findAll, findAll, findAll, findAll, findBy, findOne
public QuerydslMongoRepository(MongoEntityInformation<T,?> entityInformation, MongoOperations mongoOperations)
public QuerydslMongoRepository(MongoEntityInformation<T,?> entityInformation, MongoOperations mongoOperations, org.springframework.data.querydsl.EntityPathResolver resolver)
protected static <E> com.querydsl.core.types.dsl.PathBuilder<E> pathBuilderFor(com.querydsl.core.types.EntityPath<E> path)
protected org.springframework.data.repository.core.EntityInformation<T,?> typeInformation()
protected org.springframework.data.mongodb.repository.support.SpringDataMongodbSerializer mongodbSerializer()
protected com.querydsl.core.types.OrderSpecifier<?> toOrder(org.springframework.data.domain.Sort.Order order)
Sort.Order
into a Querydsl specific OrderSpecifier
.order
- protected List<com.querydsl.core.types.OrderSpecifier<?>> toOrderSpecifiers(org.springframework.data.domain.Sort sort)
Sort
to OrderSpecifier
.sort
- Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.