ICqlBatch Interface |
Namespace: Cassandra.Mapping
public interface ICqlBatch : ICqlWriteClient
The ICqlBatch type exposes the following members.
Name | Description | |
---|---|---|
ConvertCqlArgumentTValue, 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.
| |
DeleteT(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.) | |
DeleteT(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.) | |
DeleteT(T, CqlQueryOptions) |
Deletes the specified POCO from Cassandra.
(Inherited from ICqlWriteClient.) | |
Execute(Cql) |
Executes the arbitrary CQL statement specified.
(Inherited from ICqlWriteClient.) | |
Execute(String, Object) |
Executes an arbitrary CQL string with the bind variable values specified.
(Inherited from ICqlWriteClient.) | |
InsertT(T, CqlQueryOptions) |
Inserts the specified POCO in Cassandra.
(Inherited from ICqlWriteClient.) | |
InsertT(T, Boolean, CqlQueryOptions) |
Inserts the specified POCO in Cassandra.
(Inherited from ICqlWriteClient.) | |
InsertT(T, Boolean, NullableInt32, CqlQueryOptions) |
Inserts the specified POCO in Cassandra.
(Inherited from ICqlWriteClient.) | |
InsertIfNotExistsT(T, CqlQueryOptions) |
Inserts the specified POCO in Cassandra if not exists.
| |
InsertIfNotExistsT(T, Boolean, NullableInt32, CqlQueryOptions) |
Inserts the specified POCO in Cassandra if not exists.
| |
UpdateT(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.) | |
UpdateT(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.) | |
UpdateT(T, CqlQueryOptions) |
Updates the POCO specified in Cassandra.
(Inherited from ICqlWriteClient.) |
Name | Description | |
---|---|---|
BatchType |
The type of batch to use.
| |
Statements |
The statements in the batch.
|