MarkLogic Connect
MarkLogic Connect Client API Collection
Static Public Member Functions | List of all members
mlclient::utilities::DocumentBatchHelper Class Reference

Helper functions for common batch document operations. More...

#include <DocumentBatchHelper.hpp>

Static Public Member Functions

static MLCLIENT_API void addFilesToDocumentSet (const std::string &folder, const std::string &baseFolder, const bool stripBase, const std::string &appendBase, const CollectionSet &collections, const PermissionSet &permissions, IDocumentContent *properties, DocumentSet &addTo, bool showHiddenDirs=false)
 Takes all files in a folder and subfolders and adds them to a DocumentSet. More...
 

Detailed Description

Helper functions for common batch document operations.

Since
8.0.2

Member Function Documentation

static MLCLIENT_API void mlclient::utilities::DocumentBatchHelper::addFilesToDocumentSet ( const std::string &  folder,
const std::string &  baseFolder,
const bool  stripBase,
const std::string &  appendBase,
const CollectionSet collections,
const PermissionSet permissions,
IDocumentContent properties,
DocumentSet addTo,
bool  showHiddenDirs = false 
)
static

Takes all files in a folder and subfolders and adds them to a DocumentSet.

Works cross platform on Windows and Mac. Can also be used via the C# wrapper.

See the cppbatchupload and csbatchupload samples for example usage.

Since
8.0.2

The documentation for this class was generated from the following file: