Annotation Interface CQL
Annotation used to define a dynamic CQL query method in
ScyllaDBRepository.
Methods annotated with @CQL allow the execution of custom ScyllaDB Query Language (CQL) statements
within repository interfaces.
Example usage:
@CQL("SELECT * FROM users WHERE username = :username")
List<User> findByUsername(@Param("username") String username);
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe CQL query string to be executed.- Returns:
- the CQL query string
-