public class IndexingStats extends java.lang.Object implements Streamable, ToXContent
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexingStats.Stats |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
IndexingStats() |
IndexingStats(IndexingStats.Stats totalStats,
java.util.Map<java.lang.String,IndexingStats.Stats> typeStats) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IndexingStats indexingStats) |
void |
add(IndexingStats indexingStats,
boolean includeTypes) |
void |
addTotals(IndexingStats indexingStats) |
IndexingStats.Stats |
getTotal() |
java.util.Map<java.lang.String,IndexingStats.Stats> |
getTypeStats() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic IndexingStats()
public IndexingStats(IndexingStats.Stats totalStats, @Nullable java.util.Map<java.lang.String,IndexingStats.Stats> typeStats)
public void add(IndexingStats indexingStats)
public void add(IndexingStats indexingStats, boolean includeTypes)
public void addTotals(IndexingStats indexingStats)
public IndexingStats.Stats getTotal()
@Nullable public java.util.Map<java.lang.String,IndexingStats.Stats> getTypeStats()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOException