Class CountResponse.ShardStats
java.lang.Object
org.opensearch.client.core.CountResponse.ShardStats
- Enclosing class:
CountResponse
Encapsulates _shards section of count api response.
-
Constructor Summary
ConstructorsConstructorDescriptionShardStats(int successfulShards, int totalShards, int skippedShards, org.opensearch.action.search.ShardSearchFailure[] shardFailures) -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.action.search.ShardSearchFailure[]intintinttoString()
-
Constructor Details
-
ShardStats
public ShardStats(int successfulShards, int totalShards, int skippedShards, org.opensearch.action.search.ShardSearchFailure[] shardFailures)
-
-
Method Details
-
getSuccessfulShards
public int getSuccessfulShards() -
getTotalShards
public int getTotalShards() -
getSkippedShards
public int getSkippedShards() -
getShardFailures
public org.opensearch.action.search.ShardSearchFailure[] getShardFailures() -
toString
-