public static interface IndexMetaData.Custom.Factory<T extends IndexMetaData.Custom>
Modifier and Type | Method and Description |
---|---|
T |
fromMap(Map<String,Object> map) |
T |
fromXContent(XContentParser parser) |
T |
merge(T first,
T second)
Merges from first to second, with first being more important, i.e., if something exists in first and second,
first will prevail.
|
T |
readFrom(StreamInput in) |
void |
toXContent(T customIndexMetaData,
XContentBuilder builder,
ToXContent.Params params) |
String |
type() |
void |
writeTo(T customIndexMetaData,
StreamOutput out) |
String type()
T readFrom(StreamInput in) throws IOException
IOException
void writeTo(T customIndexMetaData, StreamOutput out) throws IOException
IOException
T fromMap(Map<String,Object> map) throws IOException
IOException
T fromXContent(XContentParser parser) throws IOException
IOException
void toXContent(T customIndexMetaData, XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
Copyright © 2009–2015. All rights reserved.