Package org.elasticsearch.ingest
Class PipelineConfiguration
java.lang.Object
org.elasticsearch.cluster.AbstractDiffable<PipelineConfiguration>
org.elasticsearch.ingest.PipelineConfiguration
- All Implemented Interfaces:
Diffable<PipelineConfiguration>
,Writeable
,ToXContent
,ToXContentObject
public final class PipelineConfiguration
extends AbstractDiffable<PipelineConfiguration>
implements ToXContentObject
Encapsulates a pipeline's id and configuration as a blob
-
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
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionPipelineConfiguration
(String id, BytesReference config, XContentType xContentType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
static ContextParser<Void,
PipelineConfiguration> int
hashCode()
static Diff<PipelineConfiguration>
static PipelineConfiguration
readFrom
(StreamInput in) toString()
toXContent
(XContentBuilder builder, ToXContent.Params params) void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.cluster.AbstractDiffable
diff, readDiffFrom
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
PipelineConfiguration
-
-
Method Details
-
getParser
-
getId
-
getConfigAsMap
-
getVersion
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
readDiffFrom
- Throws:
IOException
-
toString
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-