Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ALLOW FILTERING using derived query methods [DATACASS-376] #544

Closed
spring-projects-issues opened this issue Dec 23, 2016 · 2 comments
Assignees
Labels
type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Dec 23, 2016

Marc Pynaert opened DATACASS-376 and commented

AllowFiltering at the end of the method name would add the "ALLOW FILTERING" instruction at the end of the generated query


Referenced from: pull request #108

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Mar 15, 2017

Mark Paluch commented

Method name parts are intended for property interaction, not for aspects touching the query in general. Some sort of annotation seems the better approach, something like @Query(allowFiltering = true). We support meta-annotations so one could write:

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Query(allowFiltering = true)
@interface AllowFiltering {
}

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Jul 7, 2017

John Blum commented

Reviewed, polished and merged to master for Spring Data Cassandra 2.0.0.RC1 (Kay RC1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants