org.elasticsearch.action.admin.indices.status
Class IndicesStatusResponse
java.lang.Object
org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
org.elasticsearch.action.admin.indices.status.IndicesStatusResponse
- All Implemented Interfaces:
- ActionResponse, Streamable, ToXContent
public class IndicesStatusResponse
- extends BroadcastOperationResponse
- implements ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shards
protected ShardStatus[] shards
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.