org.elasticsearch.cluster.routing
Class IndexShardRoutingTable.Builder
java.lang.Object
org.elasticsearch.cluster.routing.IndexShardRoutingTable.Builder
- Enclosing class:
- IndexShardRoutingTable
public static class IndexShardRoutingTable.Builder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexShardRoutingTable.Builder
public IndexShardRoutingTable.Builder(IndexShardRoutingTable indexShard)
IndexShardRoutingTable.Builder
public IndexShardRoutingTable.Builder(ShardId shardId)
addShard
public IndexShardRoutingTable.Builder addShard(ImmutableShardRouting shardEntry)
build
public IndexShardRoutingTable build()
readFrom
public static IndexShardRoutingTable readFrom(StreamInput in)
throws java.io.IOException
- Throws:
java.io.IOException
readFromThin
public static IndexShardRoutingTable readFromThin(StreamInput in,
java.lang.String index)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public static void writeTo(IndexShardRoutingTable indexShard,
StreamOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
writeToThin
public static void writeToThin(IndexShardRoutingTable indexShard,
StreamOutput out)
throws java.io.IOException
- Throws:
java.io.IOException