public final class InternalProfileShardResults extends Object implements Writeable<InternalProfileShardResults>, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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
IOException
public Map<String,List<ProfileShardResult>> getShardResults()
public InternalProfileShardResults readFrom(StreamInput in) throws IOException
StreamableReader
readFrom
in interface StreamableReader<InternalProfileShardResults>
IOException
public void writeTo(StreamOutput out) throws IOException
Writeable
writeTo
in interface Writeable<InternalProfileShardResults>
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.