Skip to content

Commit d1528ed

Browse files
authored
Add @QueryAnnotation meta annotation to @query.
Original Pull Request #1939 Closes #1938
1 parent c436c4c commit d1528ed

File tree

1 file changed

+3
-0
lines changed
  • src/main/java/org/springframework/data/elasticsearch/annotations

1 file changed

+3
-0
lines changed

Diff for: src/main/java/org/springframework/data/elasticsearch/annotations/Query.java

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616
package org.springframework.data.elasticsearch.annotations;
1717

18+
import org.springframework.data.annotation.QueryAnnotation;
1819
import java.lang.annotation.*;
1920

2021
/**
@@ -23,11 +24,13 @@
2324
* @author Rizwan Idrees
2425
* @author Mohsin Husen
2526
* @author Peter-Josef Meisch
27+
* @author Steven Pearce
2628
*/
2729

2830
@Retention(RetentionPolicy.RUNTIME)
2931
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
3032
@Documented
33+
@QueryAnnotation
3134
public @interface Query {
3235

3336
/**

0 commit comments

Comments
 (0)