Class EntryLengthSummarizer
java.lang.Object
org.apache.accumulo.core.client.summary.summarizers.EntryLengthSummarizer
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionFactory method that creates aSummarizer.Collector
based on configuration.Factory method that creates aSummarizer.Combiner
.
-
Constructor Details
-
EntryLengthSummarizer
public EntryLengthSummarizer()
-
-
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
-