Streamable
, Writeable
, ToXContent
, ToXContentFragment
public class IndicesStatsResponse extends BroadcastResponse implements ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY_PARAMS
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<ShardRouting,ShardStats> |
asMap() |
|
ShardStats |
getAt(int position) |
|
IndexStats |
getIndex(java.lang.String index) |
|
java.util.Map<java.lang.String,IndexStats> |
getIndices() |
|
CommonStats |
getPrimaries() |
|
ShardStats[] |
getShards() |
|
CommonStats |
getTotal() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getFailedShards, getShardFailures, getStatus, getSuccessfulShards, getTotalShards
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
newWriteableReader
isFragment
remoteAddress, remoteAddress
public java.util.Map<ShardRouting,ShardStats> asMap()
public ShardStats[] getShards()
public ShardStats getAt(int position)
public IndexStats getIndex(java.lang.String index)
public java.util.Map<java.lang.String,IndexStats> getIndices()
public CommonStats getTotal()
public CommonStats getPrimaries()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BroadcastResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class BroadcastResponse
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object