pub unsafe extern "C" fn cass_batch_set_is_idempotent(
    batch: *mut CassBatch,
    is_idempotent: cass_bool_t
) -> CassError
Expand description

Sets whether the statements in a batch are idempotent. Idempotent batches are able to be automatically retried after timeouts/errors and can be speculatively executed.

@public @memberof CassBatch

@param[in] batch @param[in] is_idempotent @return CASS_OK if successful, otherwise an error occurred.

@see cass_cluster_set_constant_speculative_execution_policy() @see cass_execution_profile_set_constant_speculative_execution_policy()