Closeable
, AutoCloseable
public class SortableSingleDocSource extends SingleDocSource
encoding, forever, logStep, verbose
Constructor | Description |
---|---|
SortableSingleDocSource() |
Modifier and Type | Method | Description |
---|---|---|
DocData |
getNextDocData(DocData docData) |
Returns the next
DocData from the content source. |
void |
setConfig(Config config) |
Sets the
Config for this content source. |
addBytes, addItem, collectFiles, getBytesCount, getConfig, getItemsCount, getTotalBytesCount, getTotalItemsCount, printStatistics, shouldLog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, resetInputs
public DocData getNextDocData(DocData docData) throws NoMoreDataException
ContentSource
DocData
from the content source.
Implementations must account for multi-threading, as multiple threads
can call this method simultaneously.getNextDocData
in class SingleDocSource
NoMoreDataException
public void setConfig(Config config)
ContentItemsSource
Config
for this content source. If you override this
method, you must call super.setConfig.setConfig
in class ContentItemsSource
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.