Package org.elasticsearch.client.core
Class CountResponse.ShardStats
java.lang.Object
org.elasticsearch.client.core.CountResponse.ShardStats
- Enclosing class:
- CountResponse
public static final class CountResponse.ShardStats
extends java.lang.Object
Encapsulates _shards section of count api response.
-
Constructor Summary
Constructors Constructor Description ShardStats(int successfulShards, int totalShards, int skippedShards, ShardSearchFailure[] shardFailures) -
Method Summary
Modifier and Type Method Description ShardSearchFailure[]getShardFailures()intgetSkippedShards()intgetSuccessfulShards()intgetTotalShards()java.lang.StringtoString()
-
Constructor Details
-
ShardStats
public ShardStats(int successfulShards, int totalShards, int skippedShards, ShardSearchFailure[] shardFailures)
-
-
Method Details
-
getSuccessfulShards
public int getSuccessfulShards() -
getTotalShards
public int getTotalShards() -
getSkippedShards
public int getSkippedShards() -
getShardFailures
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-