I'm using the Batch class found in the Cassandra.Data.Linq
namespace. Not a BatchStatement
. The Batch class has a field for batchType
(Counter, Logged, Unlogged). However, I'm not seeing a way to set it to Unlogged
. Hoping I'm just overlooking it.
Currently (2.5.2), there is no way to set batchType
to Unlogged
.
_batchType
is a protected field and the only 2 classes extending the abstract Batch
class do not expose any methods or properties allowing you to set the field.
https://github.com/datastax/csharp-driver/blob/master/src/Cassandra/Data/Linq/BatchV1.cs
https://github.com/datastax/csharp-driver/blob/master/src/Cassandra/Data/Linq/BatchV2.cs