Package org.opensearch.ingest
Class IngestMetadata
java.lang.Object
org.opensearch.ingest.IngestMetadata
- All Implemented Interfaces:
ClusterState.FeatureAware
,Diffable<Metadata.Custom>
,Metadata.Custom
,NamedDiffable<Metadata.Custom>
,org.opensearch.core.common.io.stream.NamedWriteable
,org.opensearch.core.common.io.stream.VersionedNamedWriteable
,org.opensearch.core.common.io.stream.Writeable
,org.opensearch.core.xcontent.ToXContent
,org.opensearch.core.xcontent.ToXContentFragment
Holds the ingest pipelines that are available in the cluster
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionIngestMetadata
(Map<String, PipelineConfiguration> pipelines) IngestMetadata
(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptioncontext()
diff
(Metadata.Custom before) Returns serializable object representing differences between this and previousStateboolean
static IngestMetadata
fromXContent
(org.opensearch.core.xcontent.XContentParser parser) org.opensearch.Version
int
hashCode()
static NamedDiff
<Metadata.Custom> readDiffFrom
(org.opensearch.core.common.io.stream.StreamInput in) org.opensearch.core.xcontent.XContentBuilder
toXContent
(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensearch.cluster.ClusterState.FeatureAware
getRequiredFeature
Methods inherited from interface org.opensearch.core.xcontent.ToXContentFragment
isFragment
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
IngestMetadata
-
IngestMetadata
- Throws:
IOException
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableName
in interfaceorg.opensearch.core.common.io.stream.NamedWriteable
- Specified by:
getWriteableName
in interfaceorg.opensearch.core.common.io.stream.VersionedNamedWriteable
-
getMinimalSupportedVersion
public org.opensearch.Version getMinimalSupportedVersion()- Specified by:
getMinimalSupportedVersion
in interfaceorg.opensearch.core.common.io.stream.VersionedNamedWriteable
-
getPipelines
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Throws:
IOException
-
fromXContent
public static IngestMetadata fromXContent(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
toXContent
public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceorg.opensearch.core.xcontent.ToXContent
- Throws:
IOException
-
context
- Specified by:
context
in interfaceMetadata.Custom
-
diff
Description copied from interface:Diffable
Returns serializable object representing differences between this and previousState- Specified by:
diff
in interfaceDiffable<Metadata.Custom>
-
readDiffFrom
public static NamedDiff<Metadata.Custom> readDiffFrom(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-