Class SearchIntegratorConnector
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.Connector
-
- org.odpi.openmetadata.frameworks.connectors.ConnectorBase
-
- org.odpi.openmetadata.governanceservers.integrationdaemonservices.connectors.IntegrationConnectorBase
-
- org.odpi.openmetadata.integrationservices.search.connector.SearchIntegratorConnector
-
- All Implemented Interfaces:
AuditLoggingComponent,VirtualConnectorExtension,IntegrationConnector
public abstract class SearchIntegratorConnector extends IntegrationConnectorBase
SearchIntegratorConnector is the base class for an integration connector that is managed by the Search Integrator OMIS.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.governanceservers.integrationdaemonservices.connectors.IntegrationConnectorBase
auditLog, connectorName, embeddedConnectors
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
-
-
Constructor Summary
Constructors Constructor Description SearchIntegratorConnector()SearchIntegratorConnector(SearchIntegratorContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SearchIntegratorContextgetContext()Return the context for this connector.abstract voidsaveAsset(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.governanceservers.integrationdaemonservices.connectors.IntegrationConnectorBase
engage, getConnectorComponentDescription, initializeEmbeddedConnectors, setAuditLog, setConnectorName
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, start, toString
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.odpi.openmetadata.governanceservers.integrationdaemonservices.connectors.IntegrationConnector
disconnect, refresh, start
-
-
-
-
Constructor Detail
-
SearchIntegratorConnector
public SearchIntegratorConnector()
-
SearchIntegratorConnector
public SearchIntegratorConnector(SearchIntegratorContext context)
-
-
Method Detail
-
setContext
public void setContext(SearchIntegratorContext context)
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 ConnectorCheckedException
Return the context for this connector. It is called by the connector.- Returns:
- context for this connector's private use.
- Throws:
ConnectorCheckedException- internal issue setting up context
-
saveAsset
public abstract void saveAsset(AssetCatalogEvent assetCatalogEvent)
Save the events received from asset catalog to the Elasticsearch service- Parameters:
assetCatalogEvent- the event which contains the asset
-
-