Class EntryLengthSummarizer
- java.lang.Object
-
- org.apache.accumulo.core.client.summary.summarizers.EntryLengthSummarizer
-
- All Implemented Interfaces:
Summarizer
public class EntryLengthSummarizer extends Object implements Summarizer
Summarizer that computes summary information about field lengths. Specifically key length, row length, family length, qualifier length, visibility length, and value length. Incrementally computes minimum, maximum, count, sum, and log2 histogram of the lengths.- Since:
- 2.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.client.summary.Summarizer
Summarizer.Collector, Summarizer.Combiner, Summarizer.StatisticConsumer
-
-
Constructor Summary
Constructors Constructor Description EntryLengthSummarizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Summarizer.Collector
collector(SummarizerConfiguration sc)
Factory method that creates aSummarizer.Collector
based on configuration.Summarizer.Combiner
combiner(SummarizerConfiguration sc)
Factory method that creates aSummarizer.Combiner
.
-
-
-
Method Detail
-
collector
public Summarizer.Collector collector(SummarizerConfiguration sc)
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
public Summarizer.Combiner combiner(SummarizerConfiguration sc)
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
-
-