Package org.elasticsearch.ingest
Class PipelineConfiguration
java.lang.Object
org.elasticsearch.cluster.AbstractDiffable<PipelineConfiguration>
org.elasticsearch.ingest.PipelineConfiguration
- All Implemented Interfaces:
Diffable<PipelineConfiguration>,Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public final class PipelineConfiguration
extends AbstractDiffable<PipelineConfiguration>
implements org.elasticsearch.common.xcontent.ToXContentObject
Encapsulates a pipeline's id and configuration as a blob
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.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.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionPipelineConfiguration(String id, BytesReference config, org.elasticsearch.common.xcontent.XContentType xContentType) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()static org.elasticsearch.common.xcontent.ContextParser<Void,PipelineConfiguration>inthashCode()static Diff<PipelineConfiguration>static PipelineConfigurationreadFrom(StreamInput in)toString()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.cluster.AbstractDiffable
diff, readDiffFromMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
PipelineConfiguration
public PipelineConfiguration(String id, BytesReference config, org.elasticsearch.common.xcontent.XContentType xContentType)
-
-
Method Details
-
getParser
public static org.elasticsearch.common.xcontent.ContextParser<Void,PipelineConfiguration> getParser() -
getId
-
getConfigAsMap
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- 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()
-