Annotation Interface CountQuery
@Documented
@Target({METHOD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Query(count=true)
public @interface CountQuery
Annotation to declare count queries directly on repository methods. Both attributes allow using a placeholder
notation of
?0
, ?1
and so on.- Since:
- 2.1
- Author:
- Mark Paluch
-
Optional Element Summary
-
Element Details
-
value
A Cassandra CQL3 string to define the actual query to be executed. Placeholders?0
,?1
, etc are supported.- Default:
- ""
-