Module org.elasticsearch.server
Package org.elasticsearch.action.ingest
Class SimulateProcessorResult
java.lang.Object
org.elasticsearch.action.ingest.SimulateProcessorResult
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConstructingObjectParser<SimulateProcessorResult,
Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
ConstructorsConstructorDescriptionSimulateProcessorResult
(String type, String processorTag, String description, Exception failure, Tuple<String, Boolean> conditionalWithResult) SimulateProcessorResult
(String type, String processorTag, String description, Tuple<String, Boolean> conditionalWithResult) SimulateProcessorResult
(String type, String processorTag, String description, IngestDocument ingestDocument, Exception failure, Tuple<String, Boolean> conditionalWithResult) SimulateProcessorResult
(String type, String processorTag, String description, IngestDocument ingestDocument, Tuple<String, Boolean> conditionalWithResult) -
Method Summary
Modifier and TypeMethodDescriptionstatic SimulateProcessorResult
fromXContent
(XContentParser parser) getType()
toString()
toXContent
(XContentBuilder builder, ToXContent.Params params) void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSER
-
-
Constructor Details
-
SimulateProcessorResult
-
SimulateProcessorResult
-
SimulateProcessorResult
-
SimulateProcessorResult
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
getIngestDocument
-
getProcessorTag
-
getFailure
-
getDescription
-
getConditionalWithResult
-
getType
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-
fromXContent
-
toString
-