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.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.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionPipelineConfiguration(String id, BytesReference config, org.elasticsearch.common.xcontent.XContentType xContentType)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
static org.elasticsearch.common.xcontent.ContextParser<Void,PipelineConfiguration>
int
hashCode()
static Diff<PipelineConfiguration>
static PipelineConfiguration
readFrom(StreamInput in)
toString()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.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.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:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- 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()
-