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

Allow easier addition of custom transforms with parameters to queries #25

Closed malteseduck closed 6 years ago

malteseduck commented 7 years ago

Right now on "finder" queries you can specify the name of the transform, but nothing else. You could do custom queries and use the CombinedQueryDefinitionBuilder to set a custom transform with properties, but that would require using MarkLogicTemplate directly.

See if there is a nice way to specify some default transforms for read/write? Is this a common use case, or should this just be part of some external integrations? Maybe this is just some refactoring to allow easier hooks in the query-building process?