Function cassandra_cpp_sys::cass_statement_set_keyspace
[−]
[src]
pub unsafe extern "C" fn cass_statement_set_keyspace(
statement: *mut CassStatement,
keyspace: *const c_char
) -> CassError
Sets the statement's keyspace for use with token-aware routing.
This is not necessary for prepared statements, as the keyspace is determined in the metadata processed in the prepare phase.
@public @memberof CassStatement
@param[in] statement @param[in] keyspace @return CASS_OK if successful, otherwise an error occurred.