public final class InternalProfileShardResults extends Object implements Writeable<InternalProfileShardResults>, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
InternalProfileShardResults(Map<String,List<ProfileShardResult>> shardResults) |
InternalProfileShardResults(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<ProfileShardResult>> |
getShardResults() |
InternalProfileShardResults |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
public InternalProfileShardResults(Map<String,List<ProfileShardResult>> shardResults)
public InternalProfileShardResults(StreamInput in) throws IOException
IOExceptionpublic Map<String,List<ProfileShardResult>> getShardResults()
public InternalProfileShardResults readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom in interface StreamableReader<InternalProfileShardResults>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
WriteablewriteTo in interface Writeable<InternalProfileShardResults>IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.