datastax/java-driver — pull request #42 by mschrag (2013-03-05 02:21:21+00:00)
Title: Add simple support for creating PreparedStatements with QueryBuilder

QueryBuilder is a convenient API for constructing queries, but it's not currently possible (that I could find) to use it to build a PreparedStatement. This just adds a simple new Literal named "BindVariable" that turns into a literal "?" in the generated CQL String. Currently you have to manage the array of bind variables independently of this.