public final class IngestMetadata extends java.lang.Object implements MetaData.Custom
Writeable.Reader<R>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static IngestMetadata |
PROTO |
static java.lang.String |
TYPE |
EMPTY_PARAMS
Constructor and Description |
---|
IngestMetadata(java.util.Map<java.lang.String,PipelineConfiguration> pipelines) |
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) |
IngestMetadata |
fromXContent(XContentParser parser) |
java.util.Map<java.lang.String,PipelineConfiguration> |
getPipelines() |
int |
hashCode() |
Diff<MetaData.Custom> |
readDiffFrom(StreamInput in)
Reads the
Diff from StreamInput |
IngestMetadata |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
java.lang.String |
type() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public static final java.lang.String TYPE
public static final IngestMetadata PROTO
public IngestMetadata(java.util.Map<java.lang.String,PipelineConfiguration> pipelines)
public java.lang.String type()
type
in interface MetaData.Custom
public java.util.Map<java.lang.String,PipelineConfiguration> getPipelines()
public IngestMetadata readFrom(StreamInput in) throws java.io.IOException
StreamableReader
readFrom
in interface StreamableReader<MetaData.Custom>
readFrom
in interface Writeable<MetaData.Custom>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
writeTo
in interface Writeable<MetaData.Custom>
java.io.IOException
public IngestMetadata fromXContent(XContentParser parser) throws java.io.IOException
fromXContent
in interface MetaData.Custom
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 Diff<MetaData.Custom> readDiffFrom(StreamInput in) throws java.io.IOException
Diffable
Diff
from StreamInputreadDiffFrom
in interface Diffable<MetaData.Custom>
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