Writeable, ToXContentpublic static class SearchResponse.Clusters extends java.lang.Object implements ToXContent, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static SearchResponse.Clusters |
EMPTY |
EMPTY_PARAMS| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
int |
getSkipped() |
Returns how many total clusters were during the execution of the search request
|
int |
getSuccessful() |
Returns how many total clusters the search was executed successfully on
|
int |
getTotal() |
Returns how many total clusters the search was requested to be executed on
|
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 SearchResponse.Clusters EMPTY
public 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 int getTotal()
public int getSuccessful()
public int getSkipped()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object