Senzing C++ SDK
C++ SDK for Senzing v4, patterned after the official C# SDK
Loading...
Searching...
No Matches
SzDiagnostic.hpp
Go to the documentation of this file.
1// SzDiagnostic.hpp -- abstract interface mirroring C# Senzing.Sdk.SzDiagnostic.
2#ifndef SENZING_SDK_SZDIAGNOSTIC_HPP
3#define SENZING_SDK_SZDIAGNOSTIC_HPP
4
5#include <cstdint>
6#include <string>
7
8namespace senzing::sdk {
9
12public:
13 virtual ~SzDiagnostic() = default;
14
16 virtual std::string GetRepositoryInfo() = 0;
17
20 virtual std::string CheckRepositoryPerformance(int32_t secondsToRun) = 0;
21
23 virtual void PurgeRepository() = 0;
24
27 virtual std::string GetFeature(int64_t featureID) = 0;
28};
29
30} // namespace senzing::sdk
31
32#endif // SENZING_SDK_SZDIAGNOSTIC_HPP
Diagnostic operations against the Senzing repository.
Definition SzDiagnostic.hpp:11
virtual std::string CheckRepositoryPerformance(int32_t secondsToRun)=0
Runs a timed repository performance check for secondsToRun seconds and returns the resulting JSON.
virtual ~SzDiagnostic()=default
virtual std::string GetFeature(int64_t featureID)=0
Returns JSON describing the feature identified by featureID.
virtual void PurgeRepository()=0
Purges all records from the repository. Irreversible.
virtual std::string GetRepositoryInfo()=0
Returns JSON describing the repository (datastore) configuration/state.
Definition SzCoreConfig.hpp:20