Class PipesIteratorBase

java.lang.Object
org.apache.tika.plugins.AbstractTikaExtension
org.apache.tika.pipes.pipesiterator.PipesIteratorBase
All Implemented Interfaces:
Iterable<FetchEmitTuple>, Callable<Integer>, PipesIterator, TikaExtension
Direct Known Subclasses:
AZBlobPipesIterator, CSVPipesIterator, FileSystemPipesIterator, GCSPipesIterator, JDBCPipesIterator, JsonPipesIterator, KafkaPipesIterator, S3PipesIterator, SolrPipesIterator

public abstract class PipesIteratorBase extends AbstractTikaExtension implements PipesIterator
Abstract class that handles the testing for timeouts/thread safety issues. Concrete classes implement the blocking enqueue(). If there's an exception in the enqueuing thread, this will throw a RuntimeException. It will throw an IllegalStateException if next() is called after hasNext() has returned false.