Function hdfsBuilderConfSetStr

Source
pub unsafe extern "C" fn hdfsBuilderConfSetStr(
    bld: *mut hdfsBuilder,
    key: *const c_char,
    val: *const c_char,
) -> c_int
Expand description

Set a configuration string for an HdfsBuilder.

@param key The key to set. @param val The value, or NULL to set no value. This will be shallow-copied. You are responsible for ensuring that it remains valid until the builder is freed.

@return 0 on success; nonzero error code otherwise.