Class BinarySizeHistogram
java.lang.Object
org.apache.jackrabbit.oak.index.indexer.document.flatfile.analysis.modules.BinarySizeHistogram
- All Implemented Interfaces:
StatsCollector
Collects the histogram of binary sizes (embedded binaries and references to
the datastore). Collection is done for a certain number of path levels, in
addition to the root.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jackrabbit.oak.index.indexer.document.flatfile.analysis.modules.StatsCollector
end
-
Field Details
-
SIZES
-
-
Constructor Details
-
BinarySizeHistogram
public BinarySizeHistogram(int pathLevels)
-
-
Method Details
-
add
Description copied from interface:StatsCollector
Collect data for this node.- Specified by:
add
in interfaceStatsCollector
- Parameters:
node
- the node
-
getRecordsWithSizeAndCount
-
getRecords
Description copied from interface:StatsCollector
Get the statistics in the form of a list of records.- Specified by:
getRecords
in interfaceStatsCollector
- Returns:
- the results
-
toString
-