pub unsafe extern "C" fn cass_statement_set_is_idempotent(
    statement: *mut CassStatement,
    is_idempotent: cass_bool_t
) -> CassError
Expand description

Sets whether the statement is idempotent. Idempotent statements are able to be automatically retried after timeouts/errors and can be speculatively executed.

@public @memberof CassStatement

@param[in] statement @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()