public final class ProfileShardResult extends Object implements Writeable<ProfileShardResult>, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ProfileShardResult(List<org.elasticsearch.search.profile.ProfileResult> profileResults,
long rewriteTime,
CollectorResult profileCollector) |
ProfileShardResult(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
CollectorResult |
getCollectorResult() |
List<org.elasticsearch.search.profile.ProfileResult> |
getQueryResults() |
long |
getRewriteTime() |
ProfileShardResult |
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 ProfileShardResult(List<org.elasticsearch.search.profile.ProfileResult> profileResults, long rewriteTime, CollectorResult profileCollector)
public ProfileShardResult(StreamInput in) throws IOException
IOException
public List<org.elasticsearch.search.profile.ProfileResult> getQueryResults()
public long getRewriteTime()
public CollectorResult getCollectorResult()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
public ProfileShardResult readFrom(StreamInput in) throws IOException
StreamableReader
readFrom
in interface StreamableReader<ProfileShardResult>
IOException
public void writeTo(StreamOutput out) throws IOException
Writeable
writeTo
in interface Writeable<ProfileShardResult>
IOException
Copyright © 2009–2017. All rights reserved.