MarkLogic Connect
MarkLogic Connect Client API Collection
Public Member Functions | List of all members
mlclient::utilities::IBatchNotifiable Class Referenceabstract

An abstract class that supports notification when a Document (batch) action is completed. More...

#include <DocumentBatchWriter.hpp>

Public Member Functions

virtual MLCLIENT_API void batchOperationComplete (const DocumentUriSet out_uris, bool success, std::exception *problem)=0
 Receives a complete event from the DocumentBatchWriter class. More...
 

Detailed Description

An abstract class that supports notification when a Document (batch) action is completed.

Note
Can be subclassed directly in other wrappers (E.g. C#)
Since
8.0.2

Member Function Documentation

virtual MLCLIENT_API void mlclient::utilities::IBatchNotifiable::batchOperationComplete ( const DocumentUriSet  out_uris,
bool  success,
std::exception *  problem 
)
pure virtual

Receives a complete event from the DocumentBatchWriter class.

Since
8.0.2
Parameters
out_urisThe set of DocumentUris that have been processed (not necessarily succeeded in uploading)
successWhether all files were uploaded
problemThe exception thrown by one of the batch upload attempts, if success is false (nullptr otherwise)

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