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.ParamsNested 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 SimulateProcessorResultfromXContent(XContentParser parser) getType()toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSER
-
-
Constructor Details
-
SimulateProcessorResult
-
SimulateProcessorResult
-
SimulateProcessorResult
-
SimulateProcessorResult
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getIngestDocument
-
getProcessorTag
-
getFailure
-
getDescription
-
getConditionalWithResult
-
getType
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
fromXContent
-
toString
-