| Constructor and Description |
|---|
RemoveCompleteReplicationRecords(Connector conn) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
removeCompleteRecords(Connector conn,
BatchScanner bs,
BatchWriter bw)
Removes
Replication.Status records read from the given bs and writes a delete, using the given bw, when that Replication.Status is fully replicated
and closed, as defined by StatusUtil.isSafeForRemoval(org.apache.accumulo.server.replication.proto.Replication.Status). |
protected long |
removeRowIfNecessary(BatchWriter bw,
SortedMap<Key,Value> columns,
org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text colf,
org.apache.hadoop.io.Text colq) |
void |
run() |
public RemoveCompleteReplicationRecords(Connector conn)
protected long removeCompleteRecords(Connector conn, BatchScanner bs, BatchWriter bw)
Replication.Status records read from the given bs and writes a delete, using the given bw, when that Replication.Status is fully replicated
and closed, as defined by StatusUtil.isSafeForRemoval(org.apache.accumulo.server.replication.proto.Replication.Status).conn - A Connectorbs - A BatchScanner to read replication status records frombw - A BatchWriter to write deletes toprotected long removeRowIfNecessary(BatchWriter bw, SortedMap<Key,Value> columns, org.apache.hadoop.io.Text row, org.apache.hadoop.io.Text colf, org.apache.hadoop.io.Text colq)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.