Skip to content

Add support for find using predicate/pageable that returns a Slice [DATACMNS-541] #1011

Closed
2 of 2 issues completed
@spring-projects-issues

Description

@spring-projects-issues

Seshu Pasam opened DATACMNS-541 and commented

Am using QueryDslPredicateExecutor. What I really need is following method:

Slice<T> findAll(Predicate predicate, Pageable pageable);

The reason I don't want to use findAll that returns Page<T> is because it has twice the overhead (for performing the count operation). I am using spring-data mongodb 1.5.1


Affects: 1.8 GA (Dijkstra)

Issue Links:

  • DATAJPA-289 Add findAll(Predicate, Pageable) method to QueryDslPredicateExecutor that returns only List/Iterable

  • DATACMNS-548 Add documentation of Slice for repository query methods

7 votes, 5 watchers

Sub-issues

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions