Package org.elasticsearch.ingest
Class DropProcessor
java.lang.Object
org.elasticsearch.ingest.AbstractProcessor
org.elasticsearch.ingest.DropProcessor
- All Implemented Interfaces:
Processor
Drop processor only returns
null
for the execution result to indicate that any document
executed by it should not be indexed.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor
Processor.Parameters
-
Field Summary
Fields inherited from class org.elasticsearch.ingest.AbstractProcessor
description, tag
-
Method Summary
Modifier and TypeMethodDescriptionexecute(IngestDocument ingestDocument)
Introspect and potentially modify the incoming data.getType()
Gets the type of a processorMethods inherited from class org.elasticsearch.ingest.AbstractProcessor
getDescription, getTag
-
Field Details
-
TYPE
- See Also:
- Constant Field Values
-
-
Method Details
-
execute
Description copied from interface:Processor
Introspect and potentially modify the incoming data.- Returns:
- If
null
is returned then the current document will be dropped and not be indexed, otherwise this document will be kept and indexed - Throws:
Exception
-
getType
Description copied from interface:Processor
Gets the type of a processor
-