Class ElasticsearchNodeCommand.UnknownMetaDataCustom
java.lang.Object
org.elasticsearch.cluster.coordination.ElasticsearchNodeCommand.UnknownMetaDataCustom
- All Implemented Interfaces:
ClusterState.FeatureAware,Diffable<MetaData.Custom>,MetaData.Custom,NamedDiffable<MetaData.Custom>,NamedWriteable,VersionedNamedWriteable,Writeable,ToXContent,ToXContentFragment
- Enclosing class:
- ElasticsearchNodeCommand
public static class ElasticsearchNodeCommand.UnknownMetaDataCustom extends java.lang.Object implements MetaData.Custom
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
-
Constructor Summary
Constructors Constructor Description UnknownMetaDataCustom(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> contents) -
Method Summary
Modifier and Type Method Description java.util.EnumSet<MetaData.XContentContext>context()Diff<MetaData.Custom>diff(MetaData.Custom previousState)Returns serializable object representing differences between this and previousStateVersiongetMinimalSupportedVersion()The minimal version of the recipient this object can be sent tojava.lang.StringgetWriteableName()Returns the name of the writeable objectXContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.ClusterState.FeatureAware
getRequiredFeature
-
Constructor Details
-
UnknownMetaDataCustom
public UnknownMetaDataCustom(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> contents)
-
-
Method Details
-
context
- Specified by:
contextin interfaceMetaData.Custom
-
diff
Description copied from interface:DiffableReturns serializable object representing differences between this and previousState- Specified by:
diffin interfaceDiffable<MetaData.Custom>
-
getWriteableName
public java.lang.String getWriteableName()Description copied from interface:VersionedNamedWriteableReturns the name of the writeable object- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
Description copied from interface:VersionedNamedWriteableThe minimal version of the recipient this object can be sent to- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput. -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-