ClusterState.FeatureAware, Diffable<MetaData.Custom>, MetaData.Custom, NamedDiffable<MetaData.Custom>, NamedWriteable, VersionedNamedWriteable, Writeable, ToXContent, ToXContentFragmentpublic abstract class TestCustomMetaData extends AbstractNamedDiffable<MetaData.Custom> implements MetaData.Custom
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>EMPTY_PARAMS| Modifier | Constructor | Description |
|---|---|---|
protected |
TestCustomMetaData(java.lang.String data) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
static <T extends MetaData.Custom> |
fromXContent(java.util.function.Function<java.lang.String,MetaData.Custom> supplier,
XContentParser parser) |
|
java.lang.String |
getData() |
|
int |
hashCode() |
|
static NamedDiff<MetaData.Custom> |
readDiffFrom(java.lang.String name,
StreamInput in) |
|
protected static <T extends TestCustomMetaData> |
readFrom(java.util.function.Function<java.lang.String,T> supplier,
StreamInput in) |
|
java.lang.String |
toString() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
diff, get, readDiffFromgetRequiredFeaturecontextclone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentgetMinimalSupportedVersion, getWriteableNamepublic java.lang.String getData()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected static <T extends TestCustomMetaData> T readFrom(java.util.function.Function<java.lang.String,T> supplier, StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic static NamedDiff<MetaData.Custom> readDiffFrom(java.lang.String name, StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
public static <T extends MetaData.Custom> T fromXContent(java.util.function.Function<java.lang.String,MetaData.Custom> supplier, XContentParser parser) throws java.io.IOException
java.io.IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object