Class Summary
- 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:
Summarizer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Summary.FileStatistics
-
Constructor Summary
Constructors Constructor Description Summary(Map<String,Long> summary, SummarizerConfiguration config, long totalFiles, long filesMissingSummary, long filesWithExtra, long filesWithLarge, long deletedFiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Summary.FileStatistics
getFileStatistics()
Map<String,Long>
getStatistics()
SummarizerConfiguration
getSummarizerConfiguration()
String
toString()
-
-
-
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
.
-
-