org.elasticsearch.index.indexing
Class IndexingStats
java.lang.Object
org.elasticsearch.index.indexing.IndexingStats
- All Implemented Interfaces:
- Streamable, ToXContent
public class IndexingStats
- extends Object
- implements Streamable, ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexingStats
public IndexingStats()
IndexingStats
public IndexingStats(IndexingStats.Stats totalStats,
@Nullable
Map<String,IndexingStats.Stats> typeStats)
add
public void add(IndexingStats indexingStats)
add
public void add(IndexingStats indexingStats,
boolean includeTypes)
total
public IndexingStats.Stats total()
typeStats
@Nullable
public Map<String,IndexingStats.Stats> typeStats()
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
readIndexingStats
public static IndexingStats readIndexingStats(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.