malteseduck / spring-data-marklogic

An implementation of the Spring Data interfaces for the MarkLogic NoSQL database
Apache License 2.0
7 stars 9 forks source link

Add "search" methods that accept Pageable and Sort objects #18

Closed malteseduck closed 7 years ago

malteseduck commented 7 years ago

Instead of requiring the user to parse these objects and add sorting to the query or add page bounds, add some methods where those can be specified to MarkLogicTemplate.

malteseduck commented 7 years ago

Only did Pageable because using the CombinedQueryDefinitionBuilder can specify sort with a Sort. For now leave it at that, unless someone complains.