Class IntTaxonomyFacets

    • Method Detail

      • useHashTable

        protected boolean useHashTable​(FacetsCollector fc,
                                       TaxonomyReader taxoReader)
        Return true if a sparse hash table should be used for counting, instead of a dense int[].
      • increment

        protected void increment​(int ordinal)
        Increment the count for this ordinal by 1.
      • increment

        protected void increment​(int ordinal,
                                 int amount)
        Increment the count for this ordinal by amount..
      • getValue

        protected int getValue​(int ordinal)
        Get the count for this ordinal.
      • rollup

        protected void rollup()
                       throws IOException
        Rolls up any single-valued hierarchical dimensions.
        Throws:
        IOException
      • getTopChildren

        public FacetResult getTopChildren​(int topN,
                                          String dim,
                                          String... path)
                                   throws IOException
        Description copied from class: Facets
        Returns the topN child labels under the specified path. Returns null if the specified path doesn't exist or if this dimension was never seen.
        Specified by:
        getTopChildren in class Facets
        Throws:
        IOException