strusUtilities
0.17
|
strus toplevel namespace More...
Functions | |
FileCrawlerInterface * | createFileCrawlerInterface (const std::string &path, int chunkSize, const std::string &extension, ErrorBufferInterface *errorhnd) |
Create an interface for loading files in chunks for multithreaded processing. More... | |
strus toplevel namespace
FileCrawlerInterface* strus::createFileCrawlerInterface | ( | const std::string & | path, |
int | chunkSize, | ||
const std::string & | extension, | ||
ErrorBufferInterface * | errorhnd | ||
) |
Create an interface for loading files in chunks for multithreaded processing.
[in] | path | path where to load files from |
[in] | chunkSize | maximum number of files per chunk loaded |
[in] | extension | extension of the files to load, empty if no restriction on the extension given |
[in] | errorhnd | error buffer interface for exceptions thrown |