org.elasticsearch.action.admin.indices.status
Class IndicesStatusResponse

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

public class IndicesStatusResponse
extends BroadcastOperationResponse
implements ToXContent


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
protected  ShardStatus[] shards
           
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Method Summary
 ShardStatus getAt(int position)
           
 Map<String,IndexStatus> getIndices()
           
 ShardStatus[] getShards()
           
 IndexStatus index(String index)
           
 Map<String,IndexStatus> indices()
           
 void readFrom(StreamInput in)
           
 ShardStatus[] shards()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params, SettingsFilter settingsFilter)
           
 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
 

Field Detail

shards

protected ShardStatus[] shards
Method Detail

shards

public ShardStatus[] shards()

getShards

public ShardStatus[] getShards()

getAt

public ShardStatus getAt(int position)

index

public IndexStatus index(String index)

getIndices

public Map<String,IndexStatus> getIndices()

indices

public Map<String,IndexStatus> indices()

writeTo

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

readFrom

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

toXContent

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

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params,
                                  @Nullable
                                  SettingsFilter settingsFilter)
                           throws IOException
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.