Class VDPCacheJobReport
java.lang.Object
com.denodo.scheduler.client.job.report.BaseJobReport
com.denodo.scheduler.client.job.report.AbstractExtractionJobReport
com.denodo.scheduler.client.job.report.AbstractVDPLoadJobReport<VDPCacheJobReport>
com.denodo.scheduler.client.job.report.VDPCacheJobReport
- All Implemented Interfaces:
JobReport,JobReportWithChildren<VDPCacheJobReport>,Serializable
Report for VDP Cache jobs.
- Since:
- 5.0
- See Also:
-
Field Summary
Fields inherited from class com.denodo.scheduler.client.job.report.AbstractVDPLoadJobReport
executionErrors, executionSuccess, executionWarnings, loadProcessName, previousExecutionErrors, previousExecutionSuccess, query, reportsFields inherited from class com.denodo.scheduler.client.job.report.AbstractExtractionJobReport
extractedDocs, extractorErrorsCount, extractorWarningsCount, maxErrorsToSaveFields inherited from class com.denodo.scheduler.client.job.report.BaseJobReport
readWriteLock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCacheError(int parent, int execution, String cacheError) voidaddCacheError(int execution, String cacheError) voidaddCacheError(String cacheError) protected voidaddExtractorError(VDPCacheJobReport report, int execution, String extractorError) protected voidaddExtractorError(VDPCacheJobReport report, String extractorError) protected voidaddExtractorWarning(VDPCacheJobReport report, int execution, String extractorWarning) protected voidaddExtractorWarning(VDPCacheJobReport report, String extractorWarning) protected voidaddReport(VDPCacheJobReport report, int execution, VDPCacheJobReport reportToAdd) voidaddSourceError(int parent, String sourceError) voidaddSourceError(String sourceError) booleanlongReturns the number of cached documents.Returns the errors when caching tuples.longReturns the list of queries combinations (values of the parameters of a parameterized query), grouped by load process.getCombinations(Integer execution) Returns the combinations of a load process.longbooleanbooleanvoidincCachedDocs(int parent, int execution, long numDocs) voidincCachedDocs(int execution, long numDocs) voidincCachedDocs(long numDocs) protected voidincExtractedDocs(VDPCacheJobReport report, int execution, long numDocs) protected voidincExtractedDocs(VDPCacheJobReport report, long numDocs) protected voidremoveReport(VDPCacheJobReport report, int execution) voidreset()protected voidreset(VDPCacheJobReport report) voidsetCombinations(Integer execution, List<Object> combinations) voidsetCombinations(Map<Integer, List<Object>> combinations) protected voidsetEndTime(VDPCacheJobReport report, int execution, Date date) protected voidsetEndTime(VDPCacheJobReport report, Date date) voidsetGlobalCachedDocs(long numDocs) voidsetTuplesNotCachedInQueriedView(boolean tuplesNotCachedInQueriedView) voidsetTuplesNotCachedInQueriedView(int execution, boolean tuplesNotCachedInQueriedView) voidsetTuplesNotCachedInQueriedView(int parent, int execution, boolean tuplesNotCachedInQueriedView) toString()Methods inherited from class com.denodo.scheduler.client.job.report.AbstractVDPLoadJobReport
addExecutionSucess, addExtractorError, addExtractorError, addExtractorWarning, addExtractorWarning, addLoadProcessSuccess, addReport, addReport, getFailedExecutions, getLoadProcessName, getLoadProcessSuccess, getQuery, getReports, getSuccessExecutions, getSuccessExecutions, incExtractedDocs, incExtractedDocs, removeReport, removeReport, setEndTime, setEndTime, setLoadProcessName, setPreviousExecutionErrors, setPreviousExecutionSuccess, setPreviousLoadProcessSuccess, setQueryMethods inherited from class com.denodo.scheduler.client.job.report.AbstractExtractionJobReport
addExtractorError, addExtractorWarning, getExtractedDocs, getExtractorErrors, getExtractorErrorsCount, getExtractorWarnings, getExtractorWarningsCount, getGlobalExtractedDocs, hasWarnings, incExtractedDocs, setExtractedDocs, setExtractorErrors, setExtractorWarnings, setGlobalExtractedDocsMethods inherited from class com.denodo.scheduler.client.job.report.BaseJobReport
addGeneralError, addGeneralWarning, addHandlerError, addHandlerWarning, addInitializationError, getDuration, getEndTime, getExtractionDataSourceName, getFirstTime, getGeneralErrors, getGeneralWarnings, getHandlerErrors, getHandlerWarnings, getId, getInitializationErrors, getJobID, getJobName, getJobType, getMisfireError, getProjectName, getRetryCount, getRetryJob, getServerInfo, getStartTime, hasMisfired, isInterrupted, setEndTime, setExtractionDataSourceName, setFirstTime, setId, setInterrupted, setJobID, setJobName, setJobType, setMisfireError, setProjectName, setRetryCount, setRetryJob, setServerInfo, setStartTime
-
Constructor Details
-
VDPCacheJobReport
public VDPCacheJobReport() -
VDPCacheJobReport
-
VDPCacheJobReport
-
-
Method Details
-
getCacheErrorsCount
public long getCacheErrorsCount() -
getCachedDocs
public long getCachedDocs()Returns the number of cached documents. -
incCachedDocs
public void incCachedDocs(long numDocs) -
incCachedDocs
public void incCachedDocs(int parent, int execution, long numDocs) -
incCachedDocs
public void incCachedDocs(int execution, long numDocs) -
setGlobalCachedDocs
public void setGlobalCachedDocs(long numDocs) -
getGlobalCachedDocs
public long getGlobalCachedDocs() -
hasTuplesNotCachedInQueriedView
public boolean hasTuplesNotCachedInQueriedView()- Returns:
- true if the tuples have not been cached in the queried view.
-
setTuplesNotCachedInQueriedView
public void setTuplesNotCachedInQueriedView(int parent, int execution, boolean tuplesNotCachedInQueriedView) -
setTuplesNotCachedInQueriedView
public void setTuplesNotCachedInQueriedView(int execution, boolean tuplesNotCachedInQueriedView) -
setTuplesNotCachedInQueriedView
public void setTuplesNotCachedInQueriedView(boolean tuplesNotCachedInQueriedView) -
getCacheErrors
Returns the errors when caching tuples.- Returns:
- The collection of errors
-
addCacheError
-
addCacheError
-
addCacheError
-
getCombinations
Returns the list of queries combinations (values of the parameters of a parameterized query), grouped by load process. Used to store the combinations and not to retrieve the values from sources when the job is retried or started with state. -
getCombinations
Returns the combinations of a load process.- Parameters:
execution- the load process identifier- Returns:
- the list of values
-
setCombinations
-
setCombinations
-
getSourcesErrors
-
addSourceError
-
addSourceError
-
hasErrors
public boolean hasErrors()- Specified by:
hasErrorsin interfaceJobReport- Overrides:
hasErrorsin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
containsRetryableErrors
public boolean containsRetryableErrors()- Overrides:
containsRetryableErrorsin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
reset
public void reset()- Specified by:
resetin interfaceJobReport- Specified by:
resetin interfaceJobReportWithChildren<VDPCacheJobReport>- Overrides:
resetin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
toString
- Overrides:
toStringin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
addReport
- Specified by:
addReportin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
removeReport
- Specified by:
removeReportin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
setEndTime
- Specified by:
setEndTimein classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
setEndTime
- Specified by:
setEndTimein classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
incExtractedDocs
- Specified by:
incExtractedDocsin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
incExtractedDocs
- Specified by:
incExtractedDocsin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
addExtractorError
- Specified by:
addExtractorErrorin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
addExtractorError
- Specified by:
addExtractorErrorin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
addExtractorWarning
protected void addExtractorWarning(VDPCacheJobReport report, int execution, String extractorWarning) - Specified by:
addExtractorWarningin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
addExtractorWarning
- Specified by:
addExtractorWarningin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-
reset
- Specified by:
resetin classAbstractVDPLoadJobReport<VDPCacheJobReport>
-