Class DeletesSummarizer
- java.lang.Object
-
- org.apache.accumulo.core.client.summary.summarizers.DeletesSummarizer
-
- All Implemented Interfaces:
Summarizer
public class DeletesSummarizer extends Object implements 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 Modifier and Type Field Description static StringDELETES_STATThe name of the statistics for the number of deletes.static StringTOTAL_STATThe name of the statistics for the total number of keys.
-
Constructor Summary
Constructors Constructor Description DeletesSummarizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Summarizer.Collectorcollector(SummarizerConfiguration sc)Factory method that creates aSummarizer.Collectorbased on configuration.Summarizer.Combinercombiner(SummarizerConfiguration sc)Factory method that creates aSummarizer.Combiner.
-
-
-
Field Detail
-
DELETES_STAT
public static final String DELETES_STAT
The name of the statistics for the number of deletes.- See Also:
- Constant Field Values
-
TOTAL_STAT
public static final String TOTAL_STAT
The name of the statistics for the total number of keys.- See Also:
- Constant Field Values
-
-
Method Detail
-
collector
public Summarizer.Collector collector(SummarizerConfiguration sc)
Description copied from interface:SummarizerFactory method that creates aSummarizer.Collectorbased on configuration. EachSummarizer.Collectorcreated 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:
collectorin interfaceSummarizer
-
combiner
public Summarizer.Combiner combiner(SummarizerConfiguration sc)
Description copied from interface:SummarizerFactory method that creates aSummarizer.Combiner. Accumulo will only use the created Combiner to merge data fromSummarizer.Collectors created using the sameSummarizerConfiguration.- Specified by:
combinerin interfaceSummarizer
-
-