Class FacetSource

    • Constructor Detail

      • FacetSource

        public FacetSource()
    • Method Detail

      • getNextFacets

        public abstract org.apache.lucene.facet.index.CategoryContainer getNextFacets​(org.apache.lucene.facet.index.CategoryContainer facets)
                                                                               throws NoMoreDataException,
                                                                                      IOException
        Returns the next facets content item. Implementations must account for multi-threading, as multiple threads can call this method simultaneously.
        Throws:
        NoMoreDataException
        IOException
      • resetInputs

        public void resetInputs()
                         throws IOException
        Description copied from class: ContentItemsSource
        Resets the input for this content source, so that the test would behave as if it was just started, input-wise.

        NOTE: the default implementation resets the number of bytes and items generated since the last reset, so it's important to call super.resetInputs in case you override this method.

        Overrides:
        resetInputs in class ContentItemsSource
        Throws:
        IOException