ISessionPrepareAsync Method (String, String, IDictionaryString, Byte) |
Prepares the provided query asynchronously on the provided keyspace, sending the custom payload
as part of the request.
Namespace: DseAssembly: Dse (in Dse.dll) Version: 2.4.0
Syntax Task<PreparedStatement> PrepareAsync(
string cqlQuery,
string keyspace,
IDictionary<string, byte[]> customPayload
)
Parameters
- cqlQuery
- Type: SystemString
Cql query to prepare - keyspace
- Type: SystemString
The keyspace to prepare this query with - customPayload
- Type: System.Collections.GenericIDictionaryString, Byte
Custom outgoing payload to send with the prepare request
Return Value
Type:
TaskPreparedStatementSee Also