A facility exists in sqlite4java where you can extract large reams of single-column data as a long[] or int[], but I am in a situation where it would be nice to have the opposite operator. Example code:
SQLiteStatement stat = connection.prepare("DELETE FROM objectlist WHERE id IN :ids");
stat.bindList(":ids", purge_list);
stat.stepThrough();
Ideally, accepted types for purge_list would be a Collection<Long>, a java.nio.LongBuffer, or a long[]. At present, the only options for performing this same operation are one-by-one exec(), single bind()/stepThrough()/reset(), or using StringBuilder or SQLParts to assemble the ID list as a string. None of which are proving particularly high performance.
Is this something I might be able to look forward to in a future release?