public abstract class FacetSource extends ContentItemsSource
For supported configuration parameters see ContentItemsSource.
encoding, forever, logStep, verbose| Constructor and Description |
|---|
FacetSource() |
| Modifier and Type | Method and Description |
|---|---|
abstract CategoryContainer |
getNextFacets(CategoryContainer facets)
Returns the next
facets content item. |
void |
resetInputs()
Resets the input for this content source, so that the test would behave as
if it was just started, input-wise.
|
addBytes, addItem, close, collectFiles, getBytesCount, getConfig, getItemsCount, getTotalBytesCount, getTotalItemsCount, printStatistics, setConfig, shouldLogpublic abstract CategoryContainer getNextFacets(CategoryContainer facets) throws NoMoreDataException, IOException
facets content item.
Implementations must account for multi-threading, as multiple threads
can call this method simultaneously.NoMoreDataExceptionIOExceptionpublic void resetInputs()
throws IOException
ContentItemsSourceNOTE: 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.
resetInputs in class ContentItemsSourceIOException