public class Row extends Object implements MapWriter
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
Map<String,Map<String,List<Policy.ReplicaInfo>>> |
collectionVsShardVsReplicas |
String |
node |
Constructor and Description |
---|
Row(String node,
Cell[] cells,
boolean anyValueMissing,
Map<String,Map<String,List<Policy.ReplicaInfo>>> collectionVsShardVsReplicas,
List<Clause> violations) |
Row(String node,
List<String> params,
ClusterDataProvider dataProvider) |
Modifier and Type | Method and Description |
---|---|
Row |
addReplica(String coll,
String shard) |
Cell[] |
getCells() |
Pair<Row,Policy.ReplicaInfo> |
removeReplica(String coll,
String shard) |
String |
toString() |
void |
writeMap(MapWriter.EntryWriter ew) |
public final String node
public Row(String node, List<String> params, ClusterDataProvider dataProvider)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public Pair<Row,Policy.ReplicaInfo> removeReplica(String coll, String shard)
public Cell[] getCells()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.