SetMergeInputFromFile

Function Usage

In Merge mode, read and deserialize data from file systems as the input data of the archive merging mode based on the historical archive result paths set in the config file.

FeatureSource in confMap must be set to FILE, indicating that data comes from the file system. ArchiveMode in confMap must be set to MERGE, indicating the archive merging mode.

Prototype

APP_ERROR SetMergeInputFromFile(const std::vector<std::string> &mergeInputs);

Parameter Description

Parameter

Description

mergeInputs

Path array of the archiving results to be merged in the file system. The length must be the same as the value of MergeArchivesCount preset in the configuration file.

Response Parameters

Data Structure

Description

APP_ERROR

  • 0: input setting completed
  • Other values: input setting failed