Package org.apache.tika.pipes.emitter
Class AbstractEmitter
java.lang.Object
org.apache.tika.pipes.emitter.AbstractEmitter
- All Implemented Interfaces:
Emitter
- Direct Known Subclasses:
AZBlobEmitter
,FileSystemEmitter
,GCSEmitter
,JDBCEmitter
,KafkaEmitter
,OpenSearchEmitter
,S3Emitter
,SolrEmitter
-
Constructor Details
-
AbstractEmitter
public AbstractEmitter()
-
-
Method Details
-
getName
-
setName
-
emit
The default behavior is to callEmitter.emit(String, List, ParseContext)
on each item. Some implementations, e.g. Solr/ES/vespa, can benefit from subclassing this and emitting a bunch of docs at once.- Specified by:
emit
in interfaceEmitter
- Parameters:
emitData
-- Throws:
IOException
TikaEmitterException
-