java.lang.Iterable<Segment>, Streamablepublic class ShardSegments extends java.lang.Object implements Streamable, java.lang.Iterable<Segment>
| Modifier and Type | Method | Description |
|---|---|---|
int |
getNumberOfCommitted() |
|
int |
getNumberOfSearch() |
|
java.util.List<Segment> |
getSegments() |
|
ShardRouting |
getShardRouting() |
|
java.util.Iterator<Segment> |
iterator() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
static ShardSegments |
readShardSegments(StreamInput in) |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic java.util.Iterator<Segment> iterator()
iterator in interface java.lang.Iterable<Segment>public ShardRouting getShardRouting()
public java.util.List<Segment> getSegments()
public int getNumberOfCommitted()
public int getNumberOfSearch()
public static ShardSegments readShardSegments(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOException