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,
ClusterDataProvider dataProvider) |
Modifier and Type | Method and Description |
---|---|
Row |
addReplica(String coll,
String shard,
Replica.Type type) |
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, ClusterDataProvider dataProvider)
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()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.