Class SearchIntegratorConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase
org.odpi.openmetadata.integrationservices.search.connector.SearchIntegratorConnector
- All Implemented Interfaces:
org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent,org.odpi.openmetadata.frameworks.connectors.SecureConnectorExtension,org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension,org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnector,SearchIntegratorOMISConnector
public abstract class SearchIntegratorConnector
extends org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase
implements SearchIntegratorOMISConnector
SearchIntegratorConnector is the base class for an integration connector that is managed by the
Search Integrator OMIS.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionReturn the context for this connector.abstract voidsaveAsset(org.odpi.openmetadata.accessservices.assetcatalog.model.AssetCatalogEvent assetCatalogEvent) Save the events received from asset catalog to the Elasticsearch servicevoidsetContext(SearchIntegratorContext context) Set up the context for this connector.Methods inherited from class org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase
disconnect, engage, getConnectorComponentDescription, initializeEmbeddedConnectors, setAuditLog, setConnectorName, setContextMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, initializeSecretsStoreConnector, isActive, start, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestampMethods inherited from interface org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnector
refresh, start
-
Constructor Details
-
SearchIntegratorConnector
public SearchIntegratorConnector() -
SearchIntegratorConnector
-
-
Method Details
-
setContext
Set up the context for this connector. It is called by the context manager.- Parameters:
context- context for this connector's private use.
-
getContext
public SearchIntegratorContext getContext() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedExceptionReturn the context for this connector. It is called by the connector.- Returns:
- context for this connector's private use.
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException- internal issue setting up context
-
saveAsset
public abstract void saveAsset(org.odpi.openmetadata.accessservices.assetcatalog.model.AssetCatalogEvent assetCatalogEvent) Save the events received from asset catalog to the Elasticsearch service- Parameters:
assetCatalogEvent- the event which contains the asset
-