java.lang.Object
org.apache.accumulo.core.client.summary.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:
  • Constructor Details

    • Summary

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

    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object