Uses of Class
com.senzing.sdk.SzException
Packages that use SzException
Package
Description
This package provides the interfaces, utility classes, enumerations,
constants and exception types pertaining to the Senzing SDK for Java.
This package provides the "core" implementation of the Senzing SDK for
Java defined in the
com.senzing.sdk package.-
Uses of SzException in com.senzing.sdk
Subclasses of SzException in com.senzing.sdkModifier and TypeClassDescriptionclassDefines an exceptional condition when an invalid input value is provided to a Senzing operation preventing the successful completion of that operation.classDefines an exceptional condition when a failure has occurred pertaining to the Senzing configuration.classExtendsSzRetryableExceptionto define an exceptional condition where a database connection was lost causing a Senzing operation to fail.classExtendsSzUnrecoverableExceptionto define an exceptional condition triggered by a database error from which we cannot recover (e.g.: missing or unexpected schema definition).classExtendsSzRetryableExceptionto define an exceptional condition where an operation failed because a database condition that is transient and would like be resolved on a repeated attempt.classExtendsSzUnrecoverableExceptionto define an exceptional condition triggered by an invalid, expired or exhausted Senzing license.classExtendsSzBadInputExceptionto define an exceptional condition where the provided bad input to a Senzing operation is an identifier that could not be used to successfully locate required data for that operation.classExtendsSzUnrecoverableExceptionto define an exceptional condition triggered by Senzing not being initialized.classDescribes an exceptional condition when an attempt is made to replace a Senzing value with a new value providing it has not not already been changed, however, the current value is no longer the expected value and has therefore already been changed.classDefines an exceptional condition where the failure is an intermittent condition and the operation may be retried with the same parameters with an expectation of success.classExtendsSzRetryableExceptionto define an exceptional condition where an operation failed because a timeout was exceeded.classExtendsSzUnrecoverableExceptionto define an exceptional condition caused by an otherwise unhandled and unexpected failure in the Senzing SDK.classExtendsSzBadInputExceptionto define an exceptional condition where a specified data source code is not configured in the current active configuration and therefore the data source could not be found.classDefines an exceptional condition where the failure is not recoverable and all operations should be stopped until the system can be modified to resolve the condition causing the failure.Methods in com.senzing.sdk that throw SzExceptionModifier and TypeMethodDescriptiondefault StringSzEngine.addRecord(SzRecordKey recordKey, String recordDefinition) Convenience method for callingSzEngine.addRecord(SzRecordKey, String, Set)usingSzFlag.SZ_ADD_RECORD_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.addRecord(SzRecordKey recordKey, String recordDefinition, Set<SzFlag> flags) Loads a record into the repository and performs entity resolution.SzDiagnostic.checkRepositoryPerformance(int secondsToRun) Conducts a rudimentary repository test to gauge I/O and network performance.voidSzEngine.closeExportReport(long exportHandle) Closes an export report.longSzEngine.countRedoRecords()Gets the number of redo records pending processing.SzConfigManager.createConfig()Creates a newSzConfiginstance from the template configuration definition.SzConfigManager.createConfig(long configId) Creates a newSzConfiginstance for a configuration ID.SzConfigManager.createConfig(String configDefinition) Creates a newSzConfiginstance from a configuration definition.default StringSzEngine.deleteRecord(SzRecordKey recordKey) Convenience method for callingSzEngine.deleteRecord(SzRecordKey, Set)usingSzFlag.SZ_DELETE_RECORD_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.deleteRecord(SzRecordKey recordKey, Set<SzFlag> flags) Deletes a record from the repository and performs entity resolution.SzConfig.export()Retrieves the definition for this configuration.default longSzEngine.exportCsvEntityReport(String csvColumnList) Convenience method for callingSzEngine.exportCsvEntityReport(String, Set)usingSzFlag.SZ_EXPORT_DEFAULT_FLAGSas the value for theflagsparameter.longSzEngine.exportCsvEntityReport(String csvColumnList, Set<SzFlag> flags) Initiates an export report of entity data in CSV format.default longSzEngine.exportJsonEntityReport()Convenience method for callingSzEngine.exportJsonEntityReport(Set)usingSzFlag.SZ_EXPORT_DEFAULT_FLAGSas the value for theflagsparameter.longSzEngine.exportJsonEntityReport(Set<SzFlag> flags) Initiates an export report of entity data in JSON Lines format.SzEngine.fetchNext(long exportHandle) Fetches the next line of entity data from an open export report.default StringSzEngine.findInterestingEntities(long entityId) Convenience method for callingSzEngine.findInterestingEntities(long, Set)withSzFlag.SZ_FIND_INTERESTING_ENTITIES_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.findInterestingEntities(long entityId, Set<SzFlag> flags) Experimental method.default StringSzEngine.findInterestingEntities(SzRecordKey recordKey) Convenience method for callingSzEngine.findInterestingEntities(SzRecordKey, Set)withSzFlag.SZ_FIND_INTERESTING_ENTITIES_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.findInterestingEntities(SzRecordKey recordKey, Set<SzFlag> flags) Experimental method.default StringSzEngine.findNetwork(SzEntityIds entityIds, int maxDegrees, int buildOutDegrees, int buildOutMaxEntities) Convenience method for callingSzEngine.findNetwork(SzEntityIds, int, int, int, Set)withSzFlag.SZ_FIND_NETWORK_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.findNetwork(SzEntityIds entityIds, int maxDegrees, int buildOutDegrees, int buildOutMaxEntities, Set<SzFlag> flags) Retrieves a network of relationships among entities, specified by entity IDs.default StringSzEngine.findNetwork(SzRecordKeys recordKeys, int maxDegrees, int buildOutDegrees, int buildOutMaxEntities) Convenience method for callingSzEngine.findNetwork(SzRecordKeys, int, int, int, Set)withSzFlag.SZ_FIND_NETWORK_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.findNetwork(SzRecordKeys recordKeys, int maxDegrees, int buildOutDegrees, int buildOutMaxEntities, Set<SzFlag> flags) Retrieves a network of relationships among entities, specified by record IDs.default StringSzEngine.findPath(long startEntityId, long endEntityId, int maxDegrees) Convenience method for callingSzEngine.findPath(long, long, int, SzEntityIds, Set, Set)usingnullas the value for both the "avoid entity ID's" and the "required data sources" parameters andSzFlag.SZ_FIND_PATH_DEFAULT_FLAGSas the value for theflagsparameter.default StringSzEngine.findPath(long startEntityId, long endEntityId, int maxDegrees, SzEntityIds avoidEntityIds, Set<String> requiredDataSources) Convenience method for callingSzEngine.findPath(long, long, int, SzEntityIds, Set, Set)usingSzFlag.SZ_FIND_PATH_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.findPath(long startEntityId, long endEntityId, int maxDegrees, SzEntityIds avoidEntityIds, Set<String> requiredDataSources, Set<SzFlag> flags) Searches for the shortest relationship path between two entities, specified by entity IDs.default StringConvenience method for callingSzEngine.findPath(long, long, int, SzEntityIds, Set, Set)usingnullas the value for both the "avoid entity ID's" and the "required data sources" parameters.default StringSzEngine.findPath(SzRecordKey startRecordKey, SzRecordKey endRecordKey, int maxDegrees) Convenience method for callingSzEngine.findPath(SzRecordKey, SzRecordKey, int, SzRecordKeys, Set, Set)usingnullas the value for both the "avoid record keys" and the "required data sources" parameters andSzFlag.SZ_FIND_PATH_DEFAULT_FLAGSas the value for theflagsparameter.default StringSzEngine.findPath(SzRecordKey startRecordKey, SzRecordKey endRecordKey, int maxDegrees, SzRecordKeys avoidRecordKeys, Set<String> requiredDataSources) Convenience method for callingSzEngine.findPath(SzRecordKey, SzRecordKey, int, SzRecordKeys, Set, Set)usingSzFlag.SZ_FIND_PATH_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.findPath(SzRecordKey startRecordKey, SzRecordKey endRecordKey, int maxDegrees, SzRecordKeys avoidRecordKeys, Set<String> requiredDataSources, Set<SzFlag> flags) Searches for the shortest relationship path between two entities, specified by record IDs.default StringSzEngine.findPath(SzRecordKey startRecordKey, SzRecordKey endRecordKey, int maxDegrees, Set<SzFlag> flags) Convenience method for callingSzEngine.findPath(SzRecordKey, SzRecordKey, int, SzRecordKeys, Set, Set)usingnullas the value for both the "avoid record keys" and the "required data sources" parameters.longSzEnvironment.getActiveConfigId()Gets the currently active configuration ID for theSzEnvironment.SzEnvironment.getConfigManager()Provides a reference to theSzConfigManagerinstance associated with thisSzEnvironment.SzConfigManager.getConfigRegistry()Gets the configuration registry.SzConfig.getDataSourceRegistry()Gets the data source registry for this configuration.longSzConfigManager.getDefaultConfigId()Gets the default configuration ID for the repository.SzEnvironment.getDiagnostic()Provides a reference to theSzDiagnosticinstance associated with thisSzEnvironment.SzEnvironment.getEngine()Provides a reference to theSzEngineinstance associated with thisSzEnvironment.default StringSzEngine.getEntity(long entityId) Convenience method for callingSzEngine.getEntity(long,Set)usingSzFlag.SZ_ENTITY_DEFAULT_FLAGSas the value for theflagsparameter.Retrieves information about an entity, specified by entity ID.default StringSzEngine.getEntity(SzRecordKey recordKey) Convenience method for callingSzEngine.getEntity(SzRecordKey,Set)usingSzFlag.SZ_ENTITY_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.getEntity(SzRecordKey recordKey, Set<SzFlag> flags) Retrieves information about an entity, specified by record ID.SzDiagnostic.getFeature(long featureId) Experimental/internal for Senzing support use.SzProduct.getLicense()Gets the details and entitlements of the applied product license.SzEnvironment.getProduct()Provides a reference to theSzProductinstance associated with thisSzEnvironment.default StringSzEngine.getRecord(SzRecordKey recordKey) Convenience method for callingSzEngine.getRecord(SzRecordKey, Set)usingSzFlag.SZ_RECORD_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.getRecord(SzRecordKey recordKey, Set<SzFlag> flags) Retrieves information about a record.default StringSzEngine.getRecordPreview(String recordDefinition) Convenience method for callingSzEngine.getRecordPreview(String, Set)usingSzFlag.SZ_RECORD_PREVIEW_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.getRecordPreview(String recordDefinition, Set<SzFlag> flags) Describes the features resulting from the hypothetical load of a record.SzEngine.getRedoRecord()Retrieves and removes a pending redo record.SzDiagnostic.getRepositoryInfo()Returns overview information about the repository.SzEngine.getStats()Gets and resets the internal engine workload statistics for the current operating system process.SzProduct.getVersion()Gets the product version details.default StringSzEngine.getVirtualEntity(Set<SzRecordKey> recordKeys) Convenience method for callingSzEngine.getVirtualEntity(Set, Set)usingSzFlag.SZ_VIRTUAL_ENTITY_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.getVirtualEntity(Set<SzRecordKey> recordKeys, Set<SzFlag> flags) Describes how an entity would look if composed of a given set of records.default StringSzEngine.howEntity(long entityId) Convenience method for callingSzEngine.howEntity(long, Set)usingSzFlags.SZ_HOW_ENTITY_DEFAULT_FLAGSas the value for theflagsparameter.Explains how an entity was constructed from its records.voidSzEngine.primeEngine()Pre-loads engine resources.default StringSzEngine.processRedoRecord(String redoRecord) Convenience method for callingSzEngine.processRedoRecord(String, Set)usingSzFlag.SZ_REDO_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.processRedoRecord(String redoRecord, Set<SzFlag> flags) Processes the provided redo record.voidSzDiagnostic.purgeRepository()Permanently deletes all data in the repository, except the configuration.default StringSzEngine.reevaluateEntity(long entityId) Convenience method for callingSzEngine.reevaluateEntity(long, Set)usingSzFlag.SZ_REEVALUATE_ENTITY_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.reevaluateEntity(long entityId, Set<SzFlag> flags) Reevaluates an entity by entity ID.default StringSzEngine.reevaluateRecord(SzRecordKey recordKey) Convenience method for callingSzEngine.reevaluateRecord(SzRecordKey, Set)usingSzFlag.SZ_REEVALUATE_RECORD_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.reevaluateRecord(SzRecordKey recordKey, Set<SzFlag> flags) Reevaluates an entity by record ID.longSzConfigManager.registerConfig(String configDefinition) Registers a configuration definition in the repository with an auto-generated comment.longSzConfigManager.registerConfig(String configDefinition, String configComment) Registers a configuration definition in the repository.SzConfig.registerDataSource(String dataSourceCode) Adds a data source to this configuration.voidSzEnvironment.reinitialize(long configId) Reinitializes theSzEnvironmentwith the specified configuration ID.voidSzConfigManager.replaceDefaultConfigId(long currentDefaultConfigId, long newDefaultConfigId) Replaces the existing default configuration ID with a new configuration ID.default StringSzEngine.searchByAttributes(String attributes) Convenience method for callingSzEngine.searchByAttributes(String, String, Set)with anullvalue for the search profile parameter andSzFlag.SZ_SEARCH_BY_ATTRIBUTES_DEFAULT_FLAGSas the value for theflagsparameter.default StringSzEngine.searchByAttributes(String attributes, String searchProfile) Convenience method for callingSzEngine.searchByAttributes(String, String, Set)usingSzFlag.SZ_SEARCH_BY_ATTRIBUTES_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.searchByAttributes(String attributes, String searchProfile, Set<SzFlag> flags) Searches for entities that match or relate to the provided attributes.default StringSzEngine.searchByAttributes(String attributes, Set<SzFlag> flags) Convenience method for callingSzEngine.searchByAttributes(String, String, Set)with anullvalue for the search profile parameter.longSzConfigManager.setDefaultConfig(String configDefinition) Registers a configuration in the repository and then sets its ID as the default for the repository with an auto-generated comment.longSzConfigManager.setDefaultConfig(String configDefinition, String configComment) Registers a configuration in the repository and then sets its ID as the default for the repository.voidSzConfigManager.setDefaultConfigId(long configId) Sets the default configuration ID.voidSzConfig.unregisterDataSource(String dataSourceCode) Removes a data source from this configuration.default StringSzEngine.whyEntities(long entityId1, long entityId2) Convenience method for callingSzEngine.whyEntities(long, long, Set)withSzFlag.SZ_WHY_ENTITIES_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.whyEntities(long entityId1, long entityId2, Set<SzFlag> flags) Describes the ways two entities relate to each other.default StringSzEngine.whyRecordInEntity(SzRecordKey recordKey) Convenience method for callingSzEngine.whyRecordInEntity(SzRecordKey, Set)withSzFlag.SZ_WHY_RECORD_IN_ENTITY_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.whyRecordInEntity(SzRecordKey recordKey, Set<SzFlag> flags) Describes the ways a record relates to the rest of its respective entity.default StringSzEngine.whyRecords(SzRecordKey recordKey1, SzRecordKey recordKey2) Convenience method for callingSzEngine.whyRecords(SzRecordKey, SzRecordKey, Set)withSzFlag.SZ_WHY_RECORDS_DEFAULT_FLAGSas the value for theflagsparameter.SzEngine.whyRecords(SzRecordKey recordKey1, SzRecordKey recordKey2, Set<SzFlag> flags) Describes the ways two records relate to each other.default StringConvenience method for callingSzEngine.whySearch(String, long, String, Set)with anullvalue for the search profile parameter andSzFlag.SZ_WHY_SEARCH_DEFAULT_FLAGSas the value for theflagsparameter.default StringConvenience method for callingSzEngine.whySearch(String, long, String, Set)usingSzFlag.SZ_WHY_SEARCH_DEFAULT_FLAGSas the value for theflagsparameter.Describes the ways a set of search attributes relate to an entity.default StringConvenience method for callingSzEngine.whySearch(String, long, String, Set)with anullvalue for the search profile parameter. -
Uses of SzException in com.senzing.sdk.core
Methods in com.senzing.sdk.core that return SzExceptionModifier and TypeMethodDescriptionstatic SzExceptionSzCoreUtilities.createSzException(int errorCode, String message) Creates the appropriateSzExceptioninstance for the specified error code.Methods in com.senzing.sdk.core that throw SzExceptionModifier and TypeMethodDescriptionprotected <T> TExecutes the specifiedCallabletask viaSzCoreEnvironment.doExecute(Callable)after ensuring that this instance is not destroyed and will not be destroyed before the task's completion.longSzCoreEnvironment.getActiveConfigId()Implemented fromSzEnvironment.getActiveConfigId().SzCoreEnvironment.getConfigManager()Provides a reference to theSzConfigManagerinstance associated with thisSzEnvironment.SzCoreEnvironment.getDiagnostic()Provides a reference to theSzDiagnosticinstance associated with thisSzEnvironment.SzCoreEnvironment.getEngine()Provides a reference to theSzEngineinstance associated with thisSzEnvironment.SzCoreEnvironment.getProduct()Provides a reference to theSzProductinstance associated with thisSzEnvironment.voidSzCoreEnvironment.reinitialize(long configId) Implemented fromSzEnvironment.reinitialize(long).