Click or drag to resize
ICqlBatch Interface
Represents a batch of CQL statements. Use the write methods (Insert, Update, Delete, etc.) to add statements to the batch.

Namespace: Cassandra.Mapping
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public interface ICqlBatch : ICqlWriteClient

The ICqlBatch type exposes the following members.

Methods
  NameDescription
Public methodConvertCqlArgumentTValue, TDatabase
Allows you to convert an argument/bind variable value being used in a CQL statement using the same converters that are being used by the client internally, including any user-defined conversions if you configured them. Will convert a value of Type TValue to a value of Type TDatabase or throw an InvalidOperationException if no converter is available.
Public methodInsertIfNotExistsT(T, CqlQueryOptions)
Inserts the specified POCO in Cassandra if not exists.
Public methodInsertIfNotExistsT(T, Boolean, NullableInt32, CqlQueryOptions)
Inserts the specified POCO in Cassandra if not exists.
Public methodWithOptions
Configures any individual option for this instance.
Top
Properties
  NameDescription
Public propertyBatchType
The type of batch to use.
Public propertyOptions
The execution options to use.
Public propertyStatements
The statements in the batch.
Top
See Also