Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.datastax.driver.mapping.annotations;
 
Defines the CQL query that an Accessor method must implement.
public @interface Query {
    
The CQL query to use.

In that query string, the parameter of the annotated method can be referenced using name bind markers. For instance, the first parameter can be refered by :arg0, the second one by :arg1, ... Alternatively, if a parameter of the annonated method has a Param annotation, the value of that latter annoation should be used instead.

Returns:
the CQL query to use.
    String value();
New to GrepCode? Check out our FAQ X