public class IndexWarmersMetaData extends AbstractDiffable<IndexMetaData.Custom> implements IndexMetaData.Custom
Modifier and Type | Class and Description |
---|---|
static class |
IndexWarmersMetaData.Entry |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static IndexWarmersMetaData |
PROTO |
static String |
TYPE |
EMPTY_PARAMS
Constructor and Description |
---|
IndexWarmersMetaData(IndexWarmersMetaData.Entry... entries) |
Modifier and Type | Method and Description |
---|---|
List<IndexWarmersMetaData.Entry> |
entries() |
boolean |
equals(Object o) |
IndexWarmersMetaData |
fromMap(Map<String,Object> map) |
IndexWarmersMetaData |
fromXContent(XContentParser parser) |
int |
hashCode() |
IndexMetaData.Custom |
mergeWith(IndexMetaData.Custom other)
Merges from this to another, with this being more important, i.e., if something exists in this and another,
this will prevail.
|
IndexWarmersMetaData |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
static void |
toXContent(IndexWarmersMetaData.Entry entry,
XContentBuilder builder,
ToXContent.Params params) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
String |
type() |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
diff, get, readDiffFrom, readDiffFrom
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
diff, readDiffFrom
public static final String TYPE
public static final IndexWarmersMetaData PROTO
public IndexWarmersMetaData(IndexWarmersMetaData.Entry... entries)
public List<IndexWarmersMetaData.Entry> entries()
public String type()
type
in interface IndexMetaData.Custom
public IndexWarmersMetaData readFrom(StreamInput in) throws IOException
StreamableReader
readFrom
in interface StreamableReader<IndexMetaData.Custom>
IOException
public void writeTo(StreamOutput out) throws IOException
Writeable
writeTo
in interface Writeable<IndexMetaData.Custom>
IOException
public IndexWarmersMetaData fromMap(Map<String,Object> map) throws IOException
fromMap
in interface IndexMetaData.Custom
IOException
public IndexWarmersMetaData fromXContent(XContentParser parser) throws IOException
fromXContent
in interface IndexMetaData.Custom
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
public static void toXContent(IndexWarmersMetaData.Entry entry, XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
public IndexMetaData.Custom mergeWith(IndexMetaData.Custom other)
IndexMetaData.Custom
mergeWith
in interface IndexMetaData.Custom
Copyright © 2009–2016. All rights reserved.