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 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,
boolean allocatedPostApi)
addShard
public IndexShardRoutingTable.Builder addShard(ImmutableShardRouting shardEntry)
removeShard
public IndexShardRoutingTable.Builder removeShard(ShardRouting shardEntry)
build
public IndexShardRoutingTable build()
readFrom
public static IndexShardRoutingTable readFrom(StreamInput in)
throws IOException
- Throws:
IOException
readFromThin
public static IndexShardRoutingTable readFromThin(StreamInput in,
String index)
throws IOException
- Throws:
IOException
writeTo
public static void writeTo(IndexShardRoutingTable indexShard,
StreamOutput out)
throws IOException
- Throws:
IOException
writeToThin
public static void writeToThin(IndexShardRoutingTable indexShard,
StreamOutput out)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.