org.elasticsearch.index.indexing
Class IndexingStats

java.lang.Object
  extended by org.elasticsearch.index.indexing.IndexingStats
All Implemented Interfaces:
Streamable, ToXContent

public class IndexingStats
extends Object
implements Streamable, ToXContent


Nested Class Summary
static class IndexingStats.Stats
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
IndexingStats()
           
IndexingStats(IndexingStats.Stats totalStats, Map<String,IndexingStats.Stats> typeStats)
           
 
Method Summary
 void add(IndexingStats indexingStats)
           
 void add(IndexingStats indexingStats, boolean includeTypes)
           
 void readFrom(StreamInput in)
           
static IndexingStats readIndexingStats(StreamInput in)
           
 IndexingStats.Stats total()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 Map<String,IndexingStats.Stats> typeStats()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexingStats

public IndexingStats()

IndexingStats

public IndexingStats(IndexingStats.Stats totalStats,
                     @Nullable
                     Map<String,IndexingStats.Stats> typeStats)
Method Detail

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.