Class NodeCount
java.lang.Object
org.apache.jackrabbit.oak.index.indexer.document.flatfile.analysis.modules.NodeCount
- All Implemented Interfaces:
StatsCollector
A collector for approximate node counts.
-
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
-
Constructor Details
-
NodeCount
public NodeCount(int resolution, long seed)
-
-
Method Details
-
add
Description copied from interface:StatsCollector
Collect data for this node.- Specified by:
add
in interfaceStatsCollector
- Parameters:
node
- the node
-
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
-