public final class IngestMetadata extends java.lang.Object implements MetaData.Custom
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
EMPTY_PARAMS| Constructor and Description |
|---|
IngestMetadata(java.util.Map<java.lang.String,PipelineConfiguration> pipelines) |
IngestMetadata(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<MetaData.XContentContext> |
context() |
Diff<MetaData.Custom> |
diff(MetaData.Custom before)
Returns serializable object representing differences between this and previousState
|
boolean |
equals(java.lang.Object o) |
static IngestMetadata |
fromXContent(XContentParser parser) |
java.util.Map<java.lang.String,PipelineConfiguration> |
getPipelines() |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
int |
hashCode() |
static NamedDiff<MetaData.Custom> |
readDiffFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMinimalSupportedVersionisFragmentpublic static final java.lang.String TYPE
public IngestMetadata(java.util.Map<java.lang.String,PipelineConfiguration> pipelines)
public IngestMetadata(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteablepublic java.util.Map<java.lang.String,PipelineConfiguration> getPipelines()
public void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic static IngestMetadata fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic java.util.EnumSet<MetaData.XContentContext> context()
context in interface MetaData.Custompublic Diff<MetaData.Custom> diff(MetaData.Custom before)
Diffablediff in interface Diffable<MetaData.Custom>public static NamedDiff<MetaData.Custom> readDiffFrom(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object