public class SuggestStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
SuggestStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SuggestStats suggestStats) |
long |
getCount() |
long |
getCurrent() |
TimeValue |
getTime() |
long |
getTimeInMillis() |
void |
readFrom(StreamInput in) |
static SuggestStats |
readSuggestStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public long getCount()
public long getTimeInMillis()
public TimeValue getTime()
public long getCurrent()
public void add(SuggestStats suggestStats)
public static SuggestStats readSuggestStats(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.