The @Select annotation currently requires that all components of the primary key be provided as parameters in DAO methods.
A common-pattern is to request rows within a partition, for example consider the following Entity:
I would like to write a DAO method to retrieve all SensorReading for a given sensor topic on a given day, i.e.:
But this produces the following compiler error:
This also does not work for @Delete.
CQL allows providing a subset of the primary key, as long as you provide at least all partition key columns, so the @Select and @Delete annotations should support this as well.