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, org.elasticsearch.action.search.ShardSearchFailure[] shardFailures)
-
Method Summary
Modifier and Type Method Description org.elasticsearch.action.search.ShardSearchFailure[]
getShardFailures()
int
getSkippedShards()
int
getSuccessfulShards()
int
getTotalShards()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ShardStats
public ShardStats(int successfulShards, int totalShards, int skippedShards, org.elasticsearch.action.search.ShardSearchFailure[] shardFailures)
-
-
Method Details
-
getSuccessfulShards
public int getSuccessfulShards() -
getTotalShards
public int getTotalShards() -
getSkippedShards
public int getSkippedShards() -
getShardFailures
public org.elasticsearch.action.search.ShardSearchFailure[] getShardFailures() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-