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, readDiffFromclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdiff, readDiffFrompublic 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.Custompublic IndexWarmersMetaData readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom in interface StreamableReader<IndexMetaData.Custom>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
WriteablewriteTo in interface Writeable<IndexMetaData.Custom>IOExceptionpublic IndexWarmersMetaData fromMap(Map<String,Object> map) throws IOException
fromMap in interface IndexMetaData.CustomIOExceptionpublic IndexWarmersMetaData fromXContent(XContentParser parser) throws IOException
fromXContent in interface IndexMetaData.CustomIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic static void toXContent(IndexWarmersMetaData.Entry entry, XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic IndexMetaData.Custom mergeWith(IndexMetaData.Custom other)
IndexMetaData.CustommergeWith in interface IndexMetaData.CustomCopyright © 2009–2017. All rights reserved.