T - the type of the extracted source dataS - the type of the transformed documentspublic class StaticIteratorETL<T,S> extends AbstractIteratorETL<T,S>
endIndexParameter, harvestedCount, startIndexParameterenabledParameter, extractor, hash, healthHistory, loader, logger, name, stateHistory, transformer| Constructor and Description |
|---|
StaticIteratorETL(AbstractIteratorExtractor<T> extractor,
AbstractIteratorTransformer<T,S> transformer)
Constructor that initializes the extractor and transformer.
|
StaticIteratorETL(String name,
AbstractIteratorExtractor<T> extractor,
AbstractIteratorTransformer<T,S> transformer)
Constructor that initializes the extractor and transformer.
|
| Modifier and Type | Method and Description |
|---|---|
protected IExtractor<Iterator<T>> |
createExtractor()
Creates an IExtractor for retrieving elements from
the harvested repository to be used by the ITransformer.
|
protected ITransformer<Iterator<T>,Iterator<S>> |
createTransformer()
Creates an ITransformer for transforming source elements
to documents that can be used by the ILoader.
|
getEndIndex, getHarvestedCount, getMaxNumberOfDocuments, getStartIndex, incrementHarvestedDocuments, loadFromJson, onParameterChanged, prepareHarvest, registerParametersabortHarvest, addEventListeners, cancelHarvest, createLoader, finishHarvestExceptionally, getAsJson, getCharset, getHash, getHealth, getName, getState, harvest, init, initHash, initMaxNumberOfDocuments, isEnabled, onContextDestroyed, onHarvestFinished, onResetContext, removeEventListeners, setHealth, setName, setStatus, skipHarvest, toString, updatepublic StaticIteratorETL(AbstractIteratorExtractor<T> extractor, AbstractIteratorTransformer<T,S> transformer)
extractor - retrieves an object from the harvested repositorytransformer - transforms the extracted object to a document that can be put to the search indexpublic StaticIteratorETL(String name, AbstractIteratorExtractor<T> extractor, AbstractIteratorTransformer<T,S> transformer)
name - the name of this ETLextractor - retrieves an object from the harvested repositorytransformer - transforms the extracted object to a document that can be put to the search indexprotected IExtractor<Iterator<T>> createExtractor()
AbstractETLcreateExtractor in class AbstractETL<Iterator<T>,Iterator<S>>protected ITransformer<Iterator<T>,Iterator<S>> createTransformer()
AbstractETLcreateTransformer in class AbstractETL<Iterator<T>,Iterator<S>>Copyright © 2017–2019. All rights reserved.