org.elasticsearch.action.admin.indices.stats
Class IndicesStats

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
      extended by org.elasticsearch.action.admin.indices.stats.IndicesStats
All Implemented Interfaces:
ActionResponse, Streamable, ToXContent

public class IndicesStats
extends BroadcastOperationResponse
implements ToXContent


Nested Class Summary
 
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
 
Method Summary
 ShardStats getAt(int position)
           
 Map<String,IndexStats> getIndices()
           
 CommonStats getPrimaries()
           
 ShardStats[] getShards()
           
 CommonStats getTotal()
           
 IndexStats index(String index)
           
 Map<String,IndexStats> indices()
           
 CommonStats primaries()
           
 void readFrom(StreamInput in)
           
 ShardStats[] shards()
           
 CommonStats total()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
failedShards, getFailedShards, getShardFailures, getSuccessfulShards, getTotalShards, shardFailures, successfulShards, totalShards
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shards

public ShardStats[] shards()

getShards

public ShardStats[] getShards()

getAt

public ShardStats getAt(int position)

index

public IndexStats index(String index)

getIndices

public Map<String,IndexStats> getIndices()

indices

public Map<String,IndexStats> indices()

getTotal

public CommonStats getTotal()

total

public CommonStats total()

getPrimaries

public CommonStats getPrimaries()

primaries

public CommonStats primaries()

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class BroadcastOperationResponse
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class BroadcastOperationResponse
Throws:
IOException

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws IOException
Specified by:
toXContent in interface ToXContent
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.