title: Passing parameter to Cassandra CQL query using DataStax client
body: <p>I am using datastax as a client for connecting to cassandra. I have successfully connected to cassandra cluster/keyspace/column families through Java. I am trying, firing some queries on cassandra column family thriugh java. For me it is working for simple queries like</p>
  
  <pre><code>ResultSet results = session.execute("select * from demodb.customer where id = 1");
  </code></pre>
  
  <p>Now I want to take id parameter from user and pass it to <strong>session.execute();</strong> statement.
  How should I go about it?</p>