S - the type of the document that is to be loadedpublic interface ILoader<S>
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Closes potentially open readers/writers and finishes the Load process
if it is still ongoing.
|
void |
init(AbstractETL<?,?> etl)
Initializes the loader for a new harvest.
|
void |
load(S document)
Loads the document to a targeted search index.
|
void |
unregisterParameters()
If the Loader created parameters in the Configuration,
this method should unregister all of them.
|
void init(AbstractETL<?,?> etl)
etl - the AbstractETL to which the loader belongsvoid load(S document) throws LoaderException
document - the document that is to be loadedLoaderException - when the load did not work properlyvoid unregisterParameters()
void clear()
Copyright © 2017–2019. All rights reserved.