Class AuthorizationSummarizer

java.lang.Object
org.apache.accumulo.core.client.summary.CountingSummarizer<ByteSequence>
org.apache.accumulo.core.client.summary.summarizers.AuthorizationSummarizer
All Implemented Interfaces:
Summarizer

public class AuthorizationSummarizer extends CountingSummarizer<ByteSequence>
Counts unique authorizations in column visibility labels. Leverages super class to defend against too many. This class is useful for discovering what authorizations are present when the expected number of authorizations is small.

As an example, assume a data set of three keys with the column visibilities : (A&C)|(A&D), A&B, and C|E. For these input this summarizer would output : c:A=2, c:B=1, c:C=2, D:1, E:1. Notice that even though A occurred 3 times in total, its only counted once per column visibility.

See the superclass documentation for more information about usage and configuration.

Since:
2.0.0
See Also: