Use the DataStax Driver QueryBuilder instead of a StringBuilder