ClusterState.FeatureAware
, Diffable<MetaData.Custom>
, MetaData.Custom
, NamedDiffable<MetaData.Custom>
, NamedWriteable
, VersionedNamedWriteable
, Writeable
, ToXContent
, ToXContentFragment
public final class IngestMetadata extends java.lang.Object implements MetaData.Custom
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
TYPE |
EMPTY_PARAMS
Constructor | Description |
---|---|
IngestMetadata(java.util.Map<java.lang.String,PipelineConfiguration> pipelines) |
|
IngestMetadata(StreamInput in) |
Modifier and Type | Method | 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) |
|
Version |
getMinimalSupportedVersion() |
The minimal version of the recipient this object can be sent to
|
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.
|
getRequiredFeature
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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()
VersionedNamedWriteable
getWriteableName
in interface NamedWriteable
getWriteableName
in interface VersionedNamedWriteable
public Version getMinimalSupportedVersion()
VersionedNamedWriteable
getMinimalSupportedVersion
in interface VersionedNamedWriteable
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