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, wait
getMinimalSupportedVersion
isFragment
public 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.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable
public java.util.Map<java.lang.String,PipelineConfiguration> getPipelines()
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public static IngestMetadata fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public java.util.EnumSet<MetaData.XContentContext> context()
context
in interface MetaData.Custom
public Diff<MetaData.Custom> diff(MetaData.Custom before)
Diffable
diff
in interface Diffable<MetaData.Custom>
public static NamedDiff<MetaData.Custom> readDiffFrom(StreamInput in) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object