public static class IndexShardRoutingTable.Builder
extends java.lang.Object
Constructor | Description |
---|---|
Builder(IndexShardRoutingTable indexShard) |
|
Builder(ShardId shardId) |
Modifier and Type | Method | Description |
---|---|---|
IndexShardRoutingTable.Builder |
addShard(ShardRouting shardEntry) |
|
IndexShardRoutingTable |
build() |
|
static IndexShardRoutingTable |
readFrom(StreamInput in) |
|
static IndexShardRoutingTable |
readFromThin(StreamInput in,
Index index) |
|
IndexShardRoutingTable.Builder |
removeShard(ShardRouting shardEntry) |
|
static void |
writeTo(IndexShardRoutingTable indexShard,
StreamOutput out) |
|
static void |
writeToThin(IndexShardRoutingTable indexShard,
StreamOutput out) |
public Builder(IndexShardRoutingTable indexShard)
public 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 java.io.IOException
java.io.IOException
public static IndexShardRoutingTable readFromThin(StreamInput in, Index index) throws java.io.IOException
java.io.IOException
public static void writeTo(IndexShardRoutingTable indexShard, StreamOutput out) throws java.io.IOException
java.io.IOException
public static void writeToThin(IndexShardRoutingTable indexShard, StreamOutput out) throws java.io.IOException
java.io.IOException