public class FieldStatsResponse extends BroadcastResponse
TransportResponse.Emptyheaders| Constructor and Description |
|---|
FieldStatsResponse() |
FieldStatsResponse(int totalShards,
int successfulShards,
int failedShards,
List<ShardOperationFailedException> shardFailures,
Map<String,Map<String,FieldStats>> indicesMergedFieldStats) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,FieldStats> |
getAllFieldStats() |
Map<String,Map<String,FieldStats>> |
getIndicesMergedFieldStats() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShardsremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic FieldStatsResponse()
public FieldStatsResponse(int totalShards,
int successfulShards,
int failedShards,
List<ShardOperationFailedException> shardFailures,
Map<String,Map<String,FieldStats>> indicesMergedFieldStats)
@Nullable public Map<String,FieldStats> getAllFieldStats()
public Map<String,Map<String,FieldStats>> getIndicesMergedFieldStats()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BroadcastResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastResponseIOExceptionCopyright © 2009–2017. All rights reserved.