Re: datastax java driver Batch vs BatchStatement

2016-03-25 Thread Alexandre Dutra
Hi, Query builder's Batch simply sends a QUERY message through the wire where the query string is a CQL batch statement : "BEGIN BATCH ... APPLY BATCH". BatchStatement actually sends a BATCH message

datastax java driver Batch vs BatchStatement

2016-03-24 Thread Jimmy Lin
Hi all, What is the difference between datastax driver Batch and BatchStatement? In particular, BatchStatment call out that it needs native protocol of version 2 or above. What is the advantage using native protocol 2.0 for batch execution? Will any of these two api smart enough to split a big b