public class VDPCacheJobReport extends AbstractExtractionJobReport
Modifier and Type | Field and Description |
---|---|
protected static long |
serialVersionUID
For interoperability with possible future changes.
|
extractedDocs, extractorErrorsCount, extractorWarningsCount, maxErrorsToSave
readWriteLock
Constructor and Description |
---|
VDPCacheJobReport() |
VDPCacheJobReport(int jobID,
String jobName,
String jobType,
Date startTime,
String query) |
VDPCacheJobReport(int jobID,
String jobName,
String jobType,
Date startTime,
String query,
String loadProcessName) |
Modifier and Type | Method and Description |
---|---|
void |
addCacheError(int parent,
int execution,
String cacheError) |
void |
addCacheError(int execution,
String cacheError) |
void |
addCacheError(String cacheError) |
void |
addExecutionSucess(Integer parent,
Integer execution) |
void |
addExtractorError(int taskId,
int execution,
String extractorError) |
void |
addExtractorError(int execution,
String extractorError) |
void |
addExtractorWarning(int taskId,
int execution,
String extractorWarning) |
void |
addExtractorWarning(int execution,
String extractorWarning) |
void |
addReport(int parent,
int execution,
VDPCacheJobReport reportToAdd) |
void |
addReport(int execution,
VDPCacheJobReport report) |
void |
addSourceError(int parent,
String sourceError) |
void |
addSourceError(String sourceError) |
boolean |
containsRetryableErrors() |
long |
getCachedDocs()
Returns the number of cached documents.
|
Collection<Object> |
getCacheErrors()
Returns the errors when caching tuples.
|
long |
getCacheErrorsCount() |
Map<Integer,List<Object>> |
getCombinations()
Returns the list of queries combinations (values of the parameters of a parameterized query), grouped by load
process.
|
List<Object> |
getCombinations(Integer execution)
Returns the combinations of a load process.
|
Map<Integer,List<Integer>> |
getFailedExecutions() |
String |
getLoadProcessName()
Gets the name of the load process to preload a VDP view.
|
String |
getQuery()
Gets the executed query.
|
Map<Integer,VDPCacheJobReport> |
getReports() |
Collection<String> |
getSourcesErrors() |
Map<Integer,List<Integer>> |
getSuccessExecutions()
Returns the successful executions, by load process.
|
List<Integer> |
getSuccessExecutions(int parent)
Returns the successful executions of a load process.
|
boolean |
hasErrors() |
boolean |
hasTuplesNotCachedInQueriedView() |
void |
incCachedDocs(int parent,
int execution,
long numDocs) |
void |
incCachedDocs(int execution,
long numDocs) |
void |
incCachedDocs(long numDocs) |
void |
incExtractedDocs(int parent,
int execution,
long numDocs) |
void |
incExtractedDocs(int execution,
long numDocs) |
void |
removeReport(int execution) |
void |
removeReport(int parent,
int execution) |
void |
reset() |
void |
setCombinations(Integer execution,
List<Object> combinations) |
void |
setCombinations(Map<Integer,List<Object>> combinations) |
void |
setEndTime(int execution,
Date date) |
void |
setEndTime(int parent,
int execution,
Date date) |
void |
setLoadProcessName(String loadProcessName) |
void |
setPreviousExecutionErrors(Map<Integer,List<Integer>> previousExecutionErrors) |
void |
setPreviousExecutionSuccess(Map<Integer,List<Integer>> previousExecutionSuccess) |
void |
setQuery(String query) |
void |
setTuplesNotCachedInQueriedView(boolean tuplesNotCachedInQueriedView) |
void |
setTuplesNotCachedInQueriedView(int execution,
boolean tuplesNotCachedInQueriedView) |
void |
setTuplesNotCachedInQueriedView(int parent,
int execution,
boolean tuplesNotCachedInQueriedView) |
String |
toString() |
addExtractorError, addExtractorWarning, getExtractedDocs, getExtractorErrors, getExtractorErrorsCount, getExtractorWarnings, getExtractorWarningsCount, hasWarnings, incExtractedDocs, setExtractedDocs, setExtractorErrors, setExtractorWarnings
addGeneralError, addGeneralWarning, addHandlerError, addInitializationError, getEndTime, getExtractionDataSourceName, getFirstTime, getGeneralErrors, getGeneralWarnings, getHandlerErrors, getId, getInitializationErrors, getJobID, getJobName, getJobType, getMisfireError, getProjectName, getRetryCount, getRetryJob, getServerInfo, getStartTime, hasMisfired, setEndTime, setExtractionDataSourceName, setFirstTime, setId, setJobID, setJobName, setJobType, setMisfireError, setProjectName, setRetryCount, setRetryJob, setServerInfo, setStartTime
protected static final long serialVersionUID
public VDPCacheJobReport()
public VDPCacheJobReport(int jobID, String jobName, String jobType, Date startTime, String query)
public String getQuery()
public void setQuery(String query)
public String getLoadProcessName()
public void setLoadProcessName(String loadProcessName)
public Map<Integer,VDPCacheJobReport> getReports()
public void addReport(int execution, VDPCacheJobReport report)
public void addReport(int parent, int execution, VDPCacheJobReport reportToAdd)
public void removeReport(int execution)
public void removeReport(int parent, int execution)
public void setEndTime(int parent, int execution, Date date)
public void setEndTime(int execution, Date date)
public void incExtractedDocs(int parent, int execution, long numDocs)
public void incExtractedDocs(int execution, long numDocs)
public void addExtractorError(int taskId, int execution, String extractorError)
public void addExtractorError(int execution, String extractorError)
public void addExtractorWarning(int taskId, int execution, String extractorWarning)
public void addExtractorWarning(int execution, String extractorWarning)
public long getCacheErrorsCount()
public long getCachedDocs()
public void incCachedDocs(long numDocs)
public void incCachedDocs(int parent, int execution, long numDocs)
public void incCachedDocs(int execution, long numDocs)
public boolean hasTuplesNotCachedInQueriedView()
public void setTuplesNotCachedInQueriedView(int parent, int execution, boolean tuplesNotCachedInQueriedView)
public void setTuplesNotCachedInQueriedView(int execution, boolean tuplesNotCachedInQueriedView)
public void setTuplesNotCachedInQueriedView(boolean tuplesNotCachedInQueriedView)
public Collection<Object> getCacheErrors()
public void addCacheError(String cacheError)
public void addCacheError(int parent, int execution, String cacheError)
public void addCacheError(int execution, String cacheError)
public void setPreviousExecutionSuccess(Map<Integer,List<Integer>> previousExecutionSuccess)
previousExecutionSuccess
- the previousExecutionSuccess to setpublic void setPreviousExecutionErrors(Map<Integer,List<Integer>> previousExecutionErrors)
previousExecutionErrors
- the previousExecutionErrors to setpublic List<Integer> getSuccessExecutions(int parent)
parent
- the load process identifierpublic Map<Integer,List<Integer>> getSuccessExecutions()
public Map<Integer,List<Object>> getCombinations()
public List<Object> getCombinations(Integer execution)
execution
- the load process identifierpublic Collection<String> getSourcesErrors()
public void addSourceError(String sourceError)
public void addSourceError(int parent, String sourceError)
public boolean hasErrors()
hasErrors
in interface JobReport
hasErrors
in class AbstractExtractionJobReport
public boolean containsRetryableErrors()
containsRetryableErrors
in class AbstractExtractionJobReport
public void reset()
reset
in interface JobReport
reset
in class AbstractExtractionJobReport
public String toString()
toString
in class AbstractExtractionJobReport
Copyright © 2021 Denodo Technologies. All rights reserved.