Class JsonPipesIterator
java.lang.Object
org.apache.tika.config.ConfigBase
org.apache.tika.pipes.pipesiterator.PipesIterator
org.apache.tika.pipes.pipesiterator.json.JsonPipesIterator
- All Implemented Interfaces:
Iterable<FetchEmitTuple>,Callable<Integer>,Initializable
Iterates through a UTF-8 text file with one FetchEmitTuple
json object per line.
-
Field Summary
Fields inherited from class org.apache.tika.pipes.pipesiterator.PipesIterator
COMPLETED_SEMAPHORE, DEFAULT_MAX_WAIT_MS, DEFAULT_QUEUE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.tika.pipes.pipesiterator.PipesIterator
build, call, checkInitialization, getEmitterName, getFetcherName, getHandlerConfig, getOnParseException, initialize, iterator, setEmitterName, setFetcherName, setHandlerType, setMaxEmbeddedResources, setMaxWaitMs, setOnParseException, setOnParseException, setParseMode, setParseMode, setQueueSize, setThrowOnWriteLimitReached, setWriteLimit, tryToAddMethods inherited from class org.apache.tika.config.ConfigBase
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettingsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tika.config.Initializable
checkInitialization, initializeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
JsonPipesIterator
public JsonPipesIterator()
-
-
Method Details
-
enqueue
- Specified by:
enqueuein classPipesIterator- Throws:
InterruptedExceptionIOExceptionTimeoutException
-
setJsonPath
-