public static class BlobIdTracker.ActiveDeletionTracker extends Object
| Modifier and Type | Method and Description |
|---|---|
Iterator<String> |
filter(File recs)
Return any ids not existing in the deletions being tracked from the ids in file parameter.
|
void |
reconcile(File recs)
Remove ids given by the file in parameter from the deletions being tracked.
|
File |
retrieve(String path) |
void |
track(File recs)
Adds the ids in the file provided to the tracked deletions.
|
public static final String DELIM
public void track(File recs) throws IOException
recs - the deleted ids to trackIOExceptionpublic File retrieve(String path) throws IOException
IOExceptionpublic void reconcile(File recs) throws IOException
recs - the sorted file containing ids to be removed from trackerIOExceptionpublic Iterator<String> filter(File recs) throws IOException
recs - the file to search for ids existing in the deletions hereIOExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.