public final class InternalProfileShardResults extends java.lang.Object implements Writeable<InternalProfileShardResults>, ToXContent
Writeable.Reader<R>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
InternalProfileShardResults(java.util.Map<java.lang.String,java.util.List<ProfileShardResult>> shardResults) |
InternalProfileShardResults(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<ProfileShardResult>> |
getShardResults() |
InternalProfileShardResults |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public InternalProfileShardResults(java.util.Map<java.lang.String,java.util.List<ProfileShardResult>> shardResults)
public InternalProfileShardResults(StreamInput in) throws java.io.IOException
java.io.IOException
public java.util.Map<java.lang.String,java.util.List<ProfileShardResult>> getShardResults()
public InternalProfileShardResults readFrom(StreamInput in) throws java.io.IOException
StreamableReader
readFrom
in interface StreamableReader<InternalProfileShardResults>
readFrom
in interface Writeable<InternalProfileShardResults>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
writeTo
in interface Writeable<InternalProfileShardResults>
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException