Hi I am currently trying to setup my CQL Dao in order to implement some query functions,
however I can't find a way to put a Collection of any objects as an argument because I keep getting this error with the codec: Codec not found for requested operation: [TEXT <-> java.util.List<java.lang.String>]
I tried using this but it didn't work:
@Select(customWhereClause = "labels CONTAINS :labels", perPartitionLimit = "1")
fun dependenciesByLabels(@CqlName("labels") labels: Collection<String>): PagingIterable<Dependency>
You likely need to define a codec for your collection, there are some examples here: https://docs.datastax.com/en/developer/java-driver/3.5/manual/custom_codecs/#creating-custom-codecs-for-user-defined-types-ud-ts If that doesn't help, please include your collection/type definition.