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