Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.datastax.driver.mapping.annotations;
Annotation for fields that map to a CQL clustering column.

If the mapped table has multiple clustering columns, it is mandatory to specify the ordinal parameter to avoid ordering ambiguity.

public @interface ClusteringColumn {
Ordinal to add when several clustering columns are declared within a single entity.

the ordinal value.
    int value() default 0;
New to GrepCode? Check out our FAQ X