Class PaginatedDataInsightSource
java.lang.Object
org.openmetadata.service.workflows.searchIndex.PaginatedDataInsightSource
- All Implemented Interfaces:
Source<ResultList<ReportData>>,Stats
-
Constructor Summary
ConstructorsConstructorDescriptionPaginatedDataInsightSource(CollectionDAO dao, String entityType, int batchSize) -
Method Summary
Modifier and TypeMethodDescriptiongetReportDataPagination(String entityFQN, int limit, String after) 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
getReaderErrors
-
Constructor Details
-
PaginatedDataInsightSource
-
-
Method Details
-
readNext
- Specified by:
readNextin interfaceSource<ResultList<ReportData>>- Throws:
SearchIndexException
-
reset
public void reset()- Specified by:
resetin interfaceSource<ResultList<ReportData>>
-
getReportDataPagination
-
updateStats
public void updateStats(int currentSuccess, int currentFailed) - Specified by:
updateStatsin interfaceStats
-