Annotation Interface Consistency


@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) public @interface Consistency
Annotation to declare a ConsistencyLevel for CQL queries executed through query methods.
Since:
2.0
Author:
Mark Paluch
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    com.datastax.oss.driver.api.core.DefaultConsistencyLevel
     
  • Element Details

    • value

      com.datastax.oss.driver.api.core.DefaultConsistencyLevel value
      Returns:
      the ConsistencyLevel applied to the query executed using a Repository query method.