Package com.seeq.link.sdk.interfaces
Interface IndexingDatasourceConnection
- All Superinterfaces:
DatasourceConnectionV2
- All Known Subinterfaces:
ConditionPullDatasourceConnection
,NonSchedulableIndexingConnection
,PullDatasourceConnection
,SignalPullDatasourceConnection
This interface defines the functions that must be implemented by the class that facilitates a
connection to an external system that is indexed periodically.
Threading considerations:
Index() is called on its own thread. Index() calls are always on the same thread and therefore sequential.
-
Method Summary
Modifier and TypeMethodDescriptionThe connector's configuration, which should extendDefaultIndexingDatasourceConnectionConfig
.void
Queries appropriate items from the external system and makes index entries for them in Seeq.Methods inherited from interface com.seeq.link.sdk.interfaces.DatasourceConnectionV2
connect, destroy, disconnect, getDatasourceClass, getDatasourceId, getDatasourceName, initialize, monitor, saveConfig
-
Method Details
-
getConfiguration
DefaultIndexingDatasourceConnectionConfig getConfiguration()The connector's configuration, which should extendDefaultIndexingDatasourceConnectionConfig
. This is used for access to required config fields likeIndexingSchedule
. -
index
Queries appropriate items from the external system and makes index entries for them in Seeq.- Parameters:
syncMode
- Indicates whether to perform a full or incremental sync.- Throws:
Exception
- All exceptions will get caught and the text of the exception will be set as the user visible status.
-