Interface for a context object created by the SDK to pass to the IndexingConnector
code.
The IndexingApplication
object creates a context instance containing an
IndexingService
instance, ExceptionHandler
instances, and TraverserConfiguration
instances for the connector to access. It calls the
init(IndexingConnectorContext)
method to pass the context to
the connector code.
Public Method Summary
abstract IndexingService |
getIndexingService()
Returns the
IndexingService instance used to communicate with the Cloud Search API. |
abstract List<TraverserConfiguration> |
getTraverserConfiguration()
Returns the list of
TraverserConfiguration registered by the connector during
init(IndexingConnectorContext) . |
abstract void |
registerTraverser(TraverserConfiguration configuration)
Creates and registers
TraverserConfiguration instances. |
Inherited Method Summary
Public Methods
public abstract IndexingService getIndexingService ()
Returns the IndexingService
instance used to communicate with the Cloud Search API.
Returns
- an
IndexingService
instance
public abstract List<TraverserConfiguration> getTraverserConfiguration ()
Returns the list of TraverserConfiguration
registered by the connector during
init(IndexingConnectorContext)
.
Returns
- a list of
TraverserConfiguration
public abstract void registerTraverser (TraverserConfiguration configuration)
Creates and registers TraverserConfiguration
instances.
A TraverserConfiguration
instance defines a Cloud Search queue polling task. The
IndexingConnector
uses this method when it implements the ItemRetriever
interface.
Parameters
configuration | parameters for a Cloud Search queue polling task |
---|