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 batch into multiple
smaller one ?
(to avoid batch_size_warn_threshold_in_kb  or
batch_size_failed_threshold_in_kb
)

Thanks

Batch
https://docs.datastax.com/en/drivers/java/2.1/com/datastax/driver/core/querybuilder/Batch.html

BatchStatement
https://docs.datastax.com/en/drivers/java/2.1/com/datastax/driver/core/BatchStatement.html

Reply via email to