hdfsGetFileBlockLocations

Function hdfsGetFileBlockLocations 

Source
pub unsafe extern "C" fn hdfsGetFileBlockLocations(
    fs: hdfsFS,
    path: *const c_char,
    start: tOffset,
    length: tOffset,
    numOfBlock: *mut c_int,
) -> *mut BlockLocation
Expand description

Get an array containing hostnames, offset and size of portions of the given file.

@param fs The file system @param path The path to the file @param start The start offset into the given file @param length The length for which to get locations for @param numOfBlock Output the number of elements in the returned array

@return An array of BlockLocation struct.