public class Row extends Object implements MapWriter
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
Map<String,Map<String,List<ReplicaInfo>>> |
collectionVsShardVsReplicas |
String |
node |
Constructor and Description |
---|
Row(String node,
Cell[] cells,
boolean anyValueMissing,
Map<String,Map<String,List<ReplicaInfo>>> collectionVsShardVsReplicas,
boolean isLive) |
Row(String node,
List<String> params,
List<String> perReplicaAttributes,
SolrCloudManager cloudManager) |
Modifier and Type | Method and Description |
---|---|
Row |
addReplica(String coll,
String shard,
Replica.Type type) |
void |
forEachReplica(Consumer<ReplicaInfo> consumer) |
static void |
forEachReplica(Map<String,Map<String,List<ReplicaInfo>>> collectionVsShardVsReplicas,
Consumer<ReplicaInfo> consumer) |
Cell[] |
getCells() |
Pair<Row,ReplicaInfo> |
removeReplica(String coll,
String shard,
Replica.Type type) |
String |
toString() |
void |
writeMap(MapWriter.EntryWriter ew) |
public final String node
public Row(String node, List<String> params, List<String> perReplicaAttributes, SolrCloudManager cloudManager)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public Row addReplica(String coll, String shard, Replica.Type type)
public Pair<Row,ReplicaInfo> removeReplica(String coll, String shard, Replica.Type type)
public Cell[] getCells()
public void forEachReplica(Consumer<ReplicaInfo> consumer)
public static void forEachReplica(Map<String,Map<String,List<ReplicaInfo>>> collectionVsShardVsReplicas, Consumer<ReplicaInfo> consumer)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.