Writeable
, ToXContent
public static class SearchResponse.Clusters extends java.lang.Object implements ToXContent, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.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, wait
isFragment
public static final SearchResponse.Clusters EMPTY
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public int getTotal()
public int getSuccessful()
public int getSkipped()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object