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, shouldLogpublic abstract void getNextFacets(List<FacetField> facets) throws NoMoreDataException, IOException
NoMoreDataExceptionIOExceptionpublic abstract void configure(FacetsConfig config)
public 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 ContentItemsSourceIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.