java.lang.Object
org.elasticsearch.ingest.PipelineConfiguration
- All Implemented Interfaces:
Diffable<PipelineConfiguration>,SimpleDiffable<PipelineConfiguration>,Writeable,ToXContent,ToXContentObject
public final class PipelineConfiguration
extends Object
implements SimpleDiffable<PipelineConfiguration>, ToXContentObject
Encapsulates a pipeline's id and configuration as a blob
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.SimpleDiffable
SimpleDiffable.CompleteDiff<T extends Diffable<T>>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
Fields inherited from interface org.elasticsearch.cluster.SimpleDiffable
EMPTYFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionPipelineConfiguration(String id, BytesReference config, XContentType xContentType) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()static ContextParser<Void,PipelineConfiguration> inthashCode()static Diff<PipelineConfiguration>static PipelineConfigurationreadFrom(StreamInput in) toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.SimpleDiffable
diffMethods 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:
toXContentin interfaceToXContent- Throws:
IOException
-
readFrom
- Throws:
IOException
-
readDiffFrom
- Throws:
IOException
-
toString
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-