Class EmitDataImpl
java.lang.Object
org.apache.tika.pipes.core.emitter.EmitDataImpl
- All Implemented Interfaces:
EmitData
-
Constructor Summary
ConstructorsConstructorDescriptionEmitDataImpl(String emitKey, List<Metadata> metadataList) EmitDataImpl(String emitKey, List<Metadata> metadataList, String containerStackTrace) -
Method Summary
Modifier and TypeMethodDescriptionlongGets the ParseContext.voidsetParseContext(ParseContext parseContext) Sets the ParseContext.toString()
-
Constructor Details
-
EmitDataImpl
-
EmitDataImpl
-
-
Method Details
-
getEmitKey
- Specified by:
getEmitKeyin interfaceEmitData
-
getMetadataList
- Specified by:
getMetadataListin interfaceEmitData
-
getContainerStackTrace
- Specified by:
getContainerStackTracein interfaceEmitData
-
getEstimatedSizeBytes
public long getEstimatedSizeBytes()- Specified by:
getEstimatedSizeBytesin interfaceEmitData
-
getParseContext
Gets the ParseContext. This is not serialized - it's set by PipesClient after deserialization from the original FetchEmitTuple.- Specified by:
getParseContextin interfaceEmitData
-
setParseContext
Sets the ParseContext. Called by PipesClient after deserialization to restore the ParseContext from the original FetchEmitTuple. -
toString
-