Class PaginatedDataInsightSource
- java.lang.Object
-
- org.openmetadata.service.workflows.searchIndex.PaginatedDataInsightSource
-
- All Implemented Interfaces:
Source<ResultList<ReportData>>,Stats
public class PaginatedDataInsightSource extends Object implements Source<ResultList<ReportData>>
-
-
Constructor Summary
Constructors Constructor Description PaginatedDataInsightSource(CollectionDAO dao, String entityType, int batchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultList<ReportData>getReportDataPagination(String entityFQN, int limit, String after)StepStatsgetStats()ResultList<ReportData>readNext(Map<String,Object> contextData)voidreset()voidupdateStats(int currentSuccess, int currentFailed)
-
-
-
Constructor Detail
-
PaginatedDataInsightSource
public PaginatedDataInsightSource(CollectionDAO dao, String entityType, int batchSize)
-
-
Method Detail
-
readNext
public ResultList<ReportData> readNext(Map<String,Object> contextData) throws SourceException
- Specified by:
readNextin interfaceSource<ResultList<ReportData>>- Throws:
SourceException
-
reset
public void reset()
- Specified by:
resetin interfaceSource<ResultList<ReportData>>
-
getReportDataPagination
public ResultList<ReportData> getReportDataPagination(String entityFQN, int limit, String after)
-
updateStats
public void updateStats(int currentSuccess, int currentFailed)- Specified by:
updateStatsin interfaceStats
-
-