Class Summary


  • public class Summary
    extends Object
    This class encapsulates summary statistics, information about how those statistics were generated, and information about files the statistics were obtained from.
    Since:
    2.0.0
    See Also:
    Summarizer
    • Constructor Detail

      • Summary

        public Summary​(Map<String,​Long> summary,
                       SummarizerConfiguration config,
                       long totalFiles,
                       long filesMissingSummary,
                       long filesWithExtra,
                       long filesWithLarge,
                       long deletedFiles)
    • Method Detail

      • getFileStatistics

        public Summary.FileStatistics getFileStatistics()
        Returns:
        Statistics about the files from which summary statistics were obtained.
      • getSummarizerConfiguration

        public SummarizerConfiguration getSummarizerConfiguration()
        Returns:
        The configuration used to generate and combine the summary statistics
      • getStatistics

        public Map<String,​Long> getStatistics()
        Returns:
        An immutable map of the statistics that were generated and merged by the specified Summarizer.