How to bind IN-clause values in a CQL 3 prepared statement?
I have a table that is roughly like create table mytable ( id uuid, something text, primary key (id) ); I'm trying to create a prepared statement that has a bound in-clause: PreparedStatement ps = session.prepare("select * from mytable where id IN (?)"); ... UUID[] ids = { uuid1, uuid2, uuid3} ; No matter how I express the ids to bind, the java driver rejects them. ps.bind( /*as array*/) : driver complains statement has only one value, 2 supplied ps.bind( /*as comma separated string list of uuids*/) : driver complains it wants UUID.class objects, not strings ps.bind( /*as list object*/) :