Click or drag to resize

Session.Prepare Method (String, String, IDictionary<String,Byte[]>)

Prepares the provided query string asynchronously on the provided keyspace, sending the custom payload as part of the request.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.6.0
Syntax
C#
public PreparedStatement Prepare(
	string cqlQuery,
	string keyspace,
	IDictionary<string, byte[]> customPayload
)

Parameters

cqlQuery
Type: System.String
Cql query to prepare
keyspace
Type: System.String
The keyspace to prepare this query with
customPayload
Type: System.Collections.Generic.IDictionary<String,Byte[]>
Custom outgoing payload to send with the prepare request

Return Value

Type: PreparedStatement

Implements

ISession.Prepare(String, String, IDictionary<String,Byte[]>)
See Also