|
| | SzCoreEngine (SzCoreEnvironment &env) |
| | Constructs and initializes the native engine module using the owning environment's settings.
|
| |
| | ~SzCoreEngine () override=default |
| |
| | SzCoreEngine (const SzCoreEngine &)=delete |
| |
| SzCoreEngine & | operator= (const SzCoreEngine &)=delete |
| |
| void | PrimeEngine () override |
| | Pre-loads engine resources to reduce first-call latency.
|
| |
| std::string | GetStats () override |
| | Returns JSON workload statistics for this engine instance.
|
| |
| std::string | AddRecord (const std::string &dataSourceCode, const std::string &recordID, const std::string &recordDefinition, SzFlags flags=SzAddRecordDefaultFlags) override |
| |
| std::string | GetRecordPreview (const std::string &recordDefinition, SzFlags flags=SzRecordPreviewDefaultFlags) override |
| |
| std::string | DeleteRecord (const std::string &dataSourceCode, const std::string &recordID, SzFlags flags=SzDeleteRecordDefaultFlags) override |
| |
| std::string | ReevaluateRecord (const std::string &dataSourceCode, const std::string &recordID, SzFlags flags=SzReevaluateRecordDefaultFlags) override |
| |
| std::string | ReevaluateEntity (int64_t entityID, SzFlags flags=SzReevaluateEntityDefaultFlags) override |
| |
| std::string | SearchByAttributes (const std::string &attributes, const std::string &searchProfile, SzFlags flags=SzSearchByAttributesDefaultFlags) override |
| |
| std::string | SearchByAttributes (const std::string &attributes, SzFlags flags=SzSearchByAttributesDefaultFlags) override |
| |
| std::string | WhySearch (const std::string &attributes, int64_t entityID, const std::string &searchProfile="", SzFlags flags=SzWhySearchDefaultFlags) override |
| |
| std::string | GetEntity (int64_t entityID, SzFlags flags=SzEntityDefaultFlags) override |
| |
| std::string | GetEntity (const std::string &dataSourceCode, const std::string &recordID, SzFlags flags=SzEntityDefaultFlags) override |
| |
| std::string | GetRecord (const std::string &dataSourceCode, const std::string &recordID, SzFlags flags=SzRecordDefaultFlags) override |
| |
| std::string | FindInterestingEntities (int64_t entityID, SzFlags flags=SzFindInterestingEntitiesDefaultFlags) override |
| |
| std::string | FindInterestingEntities (const std::string &dataSourceCode, const std::string &recordID, SzFlags flags=SzFindInterestingEntitiesDefaultFlags) override |
| |
| std::string | FindPath (int64_t startEntityID, int64_t endEntityID, int32_t maxDegrees, const std::set< int64_t > &avoidEntityIDs={}, const std::set< std::string > &requiredDataSources={}, SzFlags flags=SzFindPathDefaultFlags) override |
| |
| std::string | FindPath (const std::string &startDataSourceCode, const std::string &startRecordID, const std::string &endDataSourceCode, const std::string &endRecordID, int32_t maxDegrees, const std::set< std::pair< std::string, std::string > > &avoidRecordKeys={}, const std::set< std::string > &requiredDataSources={}, SzFlags flags=SzFindPathDefaultFlags) override |
| |
| std::string | FindNetwork (const std::set< int64_t > &entityIDs, int32_t maxDegrees, int32_t buildOutDegrees, int32_t buildOutMaxEntities, SzFlags flags=SzFindNetworkDefaultFlags) override |
| |
| std::string | FindNetwork (const std::set< std::pair< std::string, std::string > > &recordKeys, int32_t maxDegrees, int32_t buildOutDegrees, int32_t buildOutMaxEntities, SzFlags flags=SzFindNetworkDefaultFlags) override |
| |
| std::string | WhyRecordInEntity (const std::string &dataSourceCode, const std::string &recordID, SzFlags flags=SzWhyRecordInEntityDefaultFlags) override |
| |
| std::string | WhyRecords (const std::string &dataSourceCode1, const std::string &recordID1, const std::string &dataSourceCode2, const std::string &recordID2, SzFlags flags=SzWhyRecordsDefaultFlags) override |
| |
| std::string | WhyEntities (int64_t entityID1, int64_t entityID2, SzFlags flags=SzWhyEntitiesDefaultFlags) override |
| |
| std::string | HowEntity (int64_t entityID, SzFlags flags=SzHowEntityDefaultFlags) override |
| |
| std::string | GetVirtualEntity (const std::set< std::pair< std::string, std::string > > &recordKeys, SzFlags flags=SzVirtualEntityDefaultFlags) override |
| |
| SzExportHandle | ExportJsonEntityReport (SzFlags flags=SzExportDefaultFlags) override |
| |
| SzExportHandle | ExportCsvEntityReport (const std::string &csvColumnList, SzFlags flags=SzExportDefaultFlags) override |
| |
| std::string | FetchNext (SzExportHandle exportHandle) override |
| |
| void | CloseExportReport (SzExportHandle exportHandle) override |
| |
| std::string | ProcessRedoRecord (const std::string &redoRecord, SzFlags flags=SzRedoDefaultFlags) override |
| |
| std::string | GetRedoRecord () override |
| |
| int64_t | CountRedoRecords () override |
| |
| void | Destroy () |
| | Destroys the native engine module.
|
| |
| bool | IsDestroyed () |
| | True once the native module has been destroyed.
|
| |
| virtual | ~SzEngine ()=default |
| |
Core implementation of SzEngine backed by the native Sz_* module.