public class Index extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static Index[] |
EMPTY_ARRAY |
EMPTY_PARAMS| Constructor and Description |
|---|
Index(StreamInput in)
Read from a stream.
|
Index(java.lang.String name,
java.lang.String uuid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static Index |
fromXContent(XContentParser parser) |
java.lang.String |
getName() |
java.lang.String |
getUUID() |
int |
hashCode() |
java.lang.String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentpublic static final Index[] EMPTY_ARRAY
public Index(java.lang.String name,
java.lang.String uuid)
public Index(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getName()
public java.lang.String getUUID()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic static Index fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException