public static class IndexShardRoutingTable.Builder extends Object
Constructor and Description |
---|
IndexShardRoutingTable.Builder(IndexShardRoutingTable indexShard) |
IndexShardRoutingTable.Builder(ShardId shardId) |
Modifier and Type | Method and Description |
---|---|
IndexShardRoutingTable.Builder |
addShard(ShardRouting shardEntry) |
IndexShardRoutingTable |
build() |
static IndexShardRoutingTable |
readFrom(StreamInput in) |
static IndexShardRoutingTable |
readFromThin(StreamInput in,
String index) |
IndexShardRoutingTable.Builder |
removeShard(ShardRouting shardEntry) |
static void |
writeTo(IndexShardRoutingTable indexShard,
StreamOutput out) |
static void |
writeToThin(IndexShardRoutingTable indexShard,
StreamOutput out) |
public IndexShardRoutingTable.Builder(IndexShardRoutingTable indexShard)
public IndexShardRoutingTable.Builder(ShardId shardId)
public IndexShardRoutingTable.Builder addShard(ShardRouting shardEntry)
public IndexShardRoutingTable.Builder removeShard(ShardRouting shardEntry)
public IndexShardRoutingTable build()
public static IndexShardRoutingTable readFrom(StreamInput in) throws IOException
IOException
public static IndexShardRoutingTable readFromThin(StreamInput in, String index) throws IOException
IOException
public static void writeTo(IndexShardRoutingTable indexShard, StreamOutput out) throws IOException
IOException
public static void writeToThin(IndexShardRoutingTable indexShard, StreamOutput out) throws IOException
IOException
Copyright © 2009–2017. All rights reserved.