Class DeletesSummarizer
java.lang.Object
org.apache.accumulo.core.client.summary.summarizers.DeletesSummarizer
- All Implemented Interfaces:
Summarizer
This summarizer tracks the total number of delete Keys seen and the total number of keys seen.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.accumulo.core.client.summary.Summarizer
Summarizer.Collector, Summarizer.Combiner, Summarizer.StatisticConsumer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFactory method that creates aSummarizer.Collector
based on configuration.Factory method that creates aSummarizer.Combiner
.
-
Field Details
-
DELETES_STAT
The name of the statistics for the number of deletes.- See Also:
-
TOTAL_STAT
The name of the statistics for the total number of keys.- See Also:
-
-
Constructor Details
-
DeletesSummarizer
public DeletesSummarizer()
-
-
Method Details
-
collector
Description copied from interface:Summarizer
Factory method that creates aSummarizer.Collector
based on configuration. EachSummarizer.Collector
created by this method should be independent and have its own internal state. Accumulo uses a Collector to generate summary statistics about a sequence of key values written to a file.- Specified by:
collector
in interfaceSummarizer
-
combiner
Description copied from interface:Summarizer
Factory method that creates aSummarizer.Combiner
. Accumulo will only use the created Combiner to merge data fromSummarizer.Collector
s created using the sameSummarizerConfiguration
.- Specified by:
combiner
in interfaceSummarizer
-