public class InternalSearchResponse extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
InternalSearchResponse(InternalSearchHits hits,
InternalAggregations aggregations,
Suggest suggest,
InternalProfileShardResults profileResults,
boolean timedOut,
Boolean terminatedEarly) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Aggregations |
aggregations() |
static InternalSearchResponse |
empty() |
SearchHits |
hits() |
Map<String,List<ProfileShardResult>> |
profile()
Returns the profile results for this search response (including all shards).
|
void |
readFrom(StreamInput in) |
static InternalSearchResponse |
readInternalSearchResponse(StreamInput in) |
Suggest |
suggest() |
Boolean |
terminatedEarly() |
boolean |
timedOut() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public InternalSearchResponse(InternalSearchHits hits, InternalAggregations aggregations, Suggest suggest, InternalProfileShardResults profileResults, boolean timedOut, Boolean terminatedEarly)
public static InternalSearchResponse empty()
public boolean timedOut()
public Boolean terminatedEarly()
public SearchHits hits()
public Aggregations aggregations()
public Suggest suggest()
public Map<String,List<ProfileShardResult>> profile()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic static InternalSearchResponse readInternalSearchResponse(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.