Package org.elasticsearch.ingest
Class CompoundProcessor
- java.lang.Object
-
- org.elasticsearch.ingest.CompoundProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor
Processor.Factory, Processor.Parameters
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ON_FAILURE_MESSAGE_FIELD
static java.lang.String
ON_FAILURE_PROCESSOR_TAG_FIELD
static java.lang.String
ON_FAILURE_PROCESSOR_TYPE_FIELD
-
Constructor Summary
Constructors Constructor Description CompoundProcessor(boolean ignoreFailure, java.util.List<Processor> processors, java.util.List<Processor> onFailureProcessors)
CompoundProcessor(Processor... processor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngestDocument
execute(IngestDocument ingestDocument)
Introspect and potentially modify the incoming data.java.util.List<Processor>
flattenProcessors()
java.util.List<Processor>
getOnFailureProcessors()
java.util.List<Processor>
getProcessors()
java.lang.String
getTag()
Gets the tag of a processor.java.lang.String
getType()
Gets the type of a processorboolean
isIgnoreFailure()
-
-
-
Field Detail
-
ON_FAILURE_MESSAGE_FIELD
public static final java.lang.String ON_FAILURE_MESSAGE_FIELD
- See Also:
- Constant Field Values
-
ON_FAILURE_PROCESSOR_TYPE_FIELD
public static final java.lang.String ON_FAILURE_PROCESSOR_TYPE_FIELD
- See Also:
- Constant Field Values
-
ON_FAILURE_PROCESSOR_TAG_FIELD
public static final java.lang.String ON_FAILURE_PROCESSOR_TAG_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
isIgnoreFailure
public boolean isIgnoreFailure()
-
getOnFailureProcessors
public java.util.List<Processor> getOnFailureProcessors()
-
getProcessors
public java.util.List<Processor> getProcessors()
-
flattenProcessors
public java.util.List<Processor> flattenProcessors()
-
getType
public java.lang.String getType()
Description copied from interface:Processor
Gets the type of a processor
-
getTag
public java.lang.String getTag()
Description copied from interface:Processor
Gets the tag of a processor.
-
execute
public IngestDocument execute(IngestDocument ingestDocument) throws java.lang.Exception
Description copied from interface:Processor
Introspect and potentially modify the incoming data.
-
-