| Constructor and Description |
|---|
RemoveCompleteReplicationRecords(AccumuloClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
removeCompleteRecords(AccumuloClient client,
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(AccumuloClient client)
protected long removeCompleteRecords(AccumuloClient client, 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).client - Accumulo clientbs - 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.