Class VDPCacheJobData

All Implemented Interfaces:
JobInformation, Serializable

public class VDPCacheJobData extends AbstractVDPLoadJobData
Job Data with information about cache results: number of cached documents and number of errors when caching tuples.
Since:
5.0
See Also:
  • Constructor Details

    • VDPCacheJobData

      public VDPCacheJobData()
    • VDPCacheJobData

      public VDPCacheJobData(int jobID, String name, String type)
    • VDPCacheJobData

      public VDPCacheJobData(VDPCacheJobData jobData)
  • Method Details

    • getCacheResult

      public long getCacheResult()
      Returns:
      the cacheResult
    • incCacheResult

      public void incCacheResult(long num)
    • getCacheGlobalResult

      public long getCacheGlobalResult()
      Returns:
      the cacheGlobalResult
    • incCacheGlobalResult

      public void incCacheGlobalResult(long num)
    • getCacheErrors

      public long getCacheErrors()
      Returns:
      the cacheErrors
    • incCacheErrors

      public void incCacheErrors(long num)
    • hasTuplesNotCachedInQueriedView

      public boolean hasTuplesNotCachedInQueriedView()
      Returns:
      true if the tuples have not been cached in the queried view.
    • setTuplesNotCachedInQueriedView

      public void setTuplesNotCachedInQueriedView(boolean tuplesNotCachedInQueriedView)
    • getNumberOfProcessedDocuments

      public long getNumberOfProcessedDocuments()
      Overrides:
      getNumberOfProcessedDocuments in class JobData
      Returns:
      Get the number of processed (exported, cached or inserted, depending on the job type) documents.
    • getGlobalNumberOfProcessedDocuments

      public long getGlobalNumberOfProcessedDocuments()
      Overrides:
      getGlobalNumberOfProcessedDocuments in class JobData
      Returns:
      Get the global number of processed (exported, cached or inserted, depending on the job type) documents.
    • completeJobData

      public boolean completeJobData(JobReport jobReport)
      Overrides:
      completeJobData in class JobData
    • reset

      public void reset()
      Overrides:
      reset in class AbstractVDPLoadJobData
    • toString

      public String toString()
      Overrides:
      toString in class JobData