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 void |
configure(FacetsConfig config) |
abstract void |
getNextFacets(List<FacetField> facets)
Fills the next facets content items in the given list.
|
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, shouldLog
public abstract void getNextFacets(List<FacetField> facets) throws NoMoreDataException, IOException
NoMoreDataException
IOException
public abstract void configure(FacetsConfig config)
public void resetInputs() throws IOException
ContentItemsSource
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.
resetInputs
in class ContentItemsSource
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.