Class PaginatedEntityTimeSeriesSource
java.lang.Object
org.openmetadata.service.workflows.searchIndex.PaginatedEntityTimeSeriesSource
- All Implemented Interfaces:
Source<ResultList<? extends EntityTimeSeriesInterface>>,Stats
public class PaginatedEntityTimeSeriesSource
extends Object
implements Source<ResultList<? extends EntityTimeSeriesInterface>>
-
Constructor Summary
ConstructorsConstructorDescriptionPaginatedEntityTimeSeriesSource(String entityType, int batchSize, List<String> fields) -
Method Summary
Modifier and TypeMethodDescriptionResultList<? extends EntityTimeSeriesInterface>voidreset()voidupdateStats(int currentSuccess, int currentFailed) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openmetadata.service.workflows.interfaces.Source
getBatchSize, getEntityType, getLastFailedCursor, getReaderErrors, isDone
-
Constructor Details
-
PaginatedEntityTimeSeriesSource
-
-
Method Details
-
readNext
public ResultList<? extends EntityTimeSeriesInterface> readNext(Map<String, Object> contextData) throws SearchIndexException- Specified by:
readNextin interfaceSource<ResultList<? extends EntityTimeSeriesInterface>>- Throws:
SearchIndexException
-
reset
public void reset()- Specified by:
resetin interfaceSource<ResultList<? extends EntityTimeSeriesInterface>>
-
updateStats
public void updateStats(int currentSuccess, int currentFailed) - Specified by:
updateStatsin interfaceStats
-