Support BATCH mode
jbochi opened this issue · comments
Juarez Bochi commented
See section 4.1.7. BATCH
Juarez Bochi commented
The only thing that I believe is still missing is statement type:
- <type> is a [byte] indicating the type of batch to use:
- If <type> == 0, the batch will be "logged". This is equivalent to a
normal CQL3 batch statement.
- If <type> == 1, the batch will be "unlogged".
- If <type> == 2, the batch will be a "counter" batch (and non-counter
statements will be rejected).
The driver is always using the type==0
.
@thibaultcha and @thefosk, since you were interested on this feature, could you please comment?
Juarez Bochi commented
Thanks to @thibaultcha (dffe2c2), all batch types are now supported.