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: Dse.Mapping
Assembly: Dse (in Dse.dll) Version: 2.0.0.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 methodDeleteT(Cql)
Deletes from the table for the POCO type specified (T) using the CQL string specified. Prepends "DELETE FROM tablename " to the CQL statement you specify, getting the tablename appropriately from the POCO Type T.
(Inherited from ICqlWriteClient.)
Public methodDeleteT(String, Object)
Deletes from the table for the POCO type specified (T) using the CQL string and bind variable values specified. Prepends "DELETE FROM tablname " to the CQL string you specify, getting the tablename appropriately from the POCO Type T.
(Inherited from ICqlWriteClient.)
Public methodDeleteT(T, CqlQueryOptions)
Deletes the specified POCO from Cassandra.
(Inherited from ICqlWriteClient.)
Public methodExecute(Cql)
Executes the arbitrary CQL statement specified.
(Inherited from ICqlWriteClient.)
Public methodExecute(String, Object)
Executes an arbitrary CQL string with the bind variable values specified.
(Inherited from ICqlWriteClient.)
Public methodInsertT(T, CqlQueryOptions)
Inserts the specified POCO in Cassandra.
(Inherited from ICqlWriteClient.)
Public methodInsertT(T, Boolean, CqlQueryOptions)
Inserts the specified POCO in Cassandra.
(Inherited from ICqlWriteClient.)
Public methodInsertT(T, Boolean, NullableInt32, CqlQueryOptions)
Inserts the specified POCO in Cassandra.
(Inherited from ICqlWriteClient.)
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 methodUpdateT(Cql)
Updates the table for the POCO type specified (T) using the CQL statement specified. Prepends "UPDATE tablename" to the CQL statement you specify, getting the tablename appropriately from the POCO Type T.
(Inherited from ICqlWriteClient.)
Public methodUpdateT(String, Object)
Updates the table for the POCO type specified (T) using the CQL string and bind variable values specified. Prepends "UPDATE tablename " to the CQL string you specify, getting the tablename appropriately from the POCO Type T.
(Inherited from ICqlWriteClient.)
Public methodUpdateT(T, CqlQueryOptions)
Updates the POCO specified in Cassandra.
(Inherited from ICqlWriteClient.)
Top
Properties
  NameDescription
Public propertyBatchType
The type of batch to use.
Public propertyStatements
The statements in the batch.
Top
See Also