Class PropertyStats

  • All Implemented Interfaces:
    StatsCollector

    public class PropertyStats
    extends java.lang.Object
    implements StatsCollector
    Property statistics.
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyStats​(boolean indexedPropertiesOnly, long seed)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(NodeData node)
      Collect data for this node.
      java.util.List<java.lang.String> getRecords()
      Get the statistics in the form of a list of records.
      void setIndexedProperties​(java.util.Map<java.lang.String,​java.util.ArrayList<IndexedProperty>> map)  
      void setIndexedPropertiesSet​(java.util.Set<java.lang.String> set)  
      void setSkip​(int skip)  
      java.lang.String toString()  
      • 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 Detail

      • PropertyStats

        public PropertyStats​(boolean indexedPropertiesOnly,
                             long seed)
    • Method Detail

      • setSkip

        public void setSkip​(int skip)
      • setIndexedPropertiesSet

        public void setIndexedPropertiesSet​(java.util.Set<java.lang.String> set)
      • setIndexedProperties

        public void setIndexedProperties​(java.util.Map<java.lang.String,​java.util.ArrayList<IndexedProperty>> map)
      • add

        public void add​(NodeData node)
        Description copied from interface: StatsCollector
        Collect data for this node.
        Specified by:
        add in interface StatsCollector
        Parameters:
        node - the node
      • getRecords

        public java.util.List<java.lang.String> getRecords()
        Description copied from interface: StatsCollector
        Get the statistics in the form of a list of records.
        Specified by:
        getRecords in interface StatsCollector
        Returns:
        the results
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object