Module org.elasticsearch.server
Package org.elasticsearch.action.ingest
Class SimulateDocumentVerboseResult
java.lang.Object
org.elasticsearch.action.ingest.SimulateDocumentVerboseResult
- All Implemented Interfaces:
SimulateDocumentResult
,Writeable
,ToXContent
,ToXContentObject
Holds the result of what a pipeline did to a sample document via the simulate api, but instead of
SimulateDocumentBaseResult
this result class holds the intermediate result each processor did to the sample document.-
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
Modifier and TypeFieldDescriptionstatic final ConstructingObjectParser<SimulateDocumentVerboseResult,
Void> static final String
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionSimulateDocumentVerboseResult
(List<SimulateProcessorResult> processorResults) Read from a stream. -
Method Summary
Modifier and TypeMethodDescriptionfromXContent
(XContentParser parser) 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, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
PROCESSOR_RESULT_FIELD
- See Also:
-
PARSER
-
-
Constructor Details
-
SimulateDocumentVerboseResult
-
SimulateDocumentVerboseResult
Read from a stream.- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
getProcessorResults
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-
fromXContent
-