public class SearchStats extends Object implements Streamable, ToXContent
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
SearchStats.Stats |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
SearchStats() |
SearchStats(SearchStats.Stats totalStats,
long openContexts,
Map<String,SearchStats.Stats> groupStats) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
add(SearchStats searchStats) |
void |
add(SearchStats searchStats,
boolean includeTypes) |
void |
addTotals(SearchStats searchStats) |
Map<String,SearchStats.Stats> |
getGroupStats() |
long |
getOpenContexts() |
SearchStats.Stats |
getTotal() |
void |
readFrom(StreamInput in) |
static SearchStats |
readSearchStats(StreamInput in) |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public SearchStats()
public SearchStats(SearchStats.Stats totalStats, long openContexts, @Nullable Map<String,SearchStats.Stats> groupStats)
public void add(SearchStats searchStats)
public void add(SearchStats searchStats, boolean includeTypes)
public void addTotals(SearchStats searchStats)
public SearchStats.Stats getTotal()
public long getOpenContexts()
@Nullable public Map<String,SearchStats.Stats> getGroupStats()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic static SearchStats readSearchStats(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.