public interface BlobTracker extends Closeable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BlobTracker.Options |
| Modifier and Type | Method and Description |
|---|---|
void |
add(File recs)
Adds the ids in the given file.
|
void |
add(Iterator<String> recs)
Adds the given ids.
|
void |
add(String id)
Adds the given id.
|
Iterator<String> |
get()
Fetches an iterator of records available.
|
File |
get(String path)
Fetches a File object which having all the sorted records.
|
void |
remove(File recs)
Remove the ids in the given file and deletes the file.
|
void |
remove(File recs,
BlobTracker.Options options)
Remove the ids in the given file and deletes the file.
|
void |
remove(Iterator<String> recs)
Remove the given ids.
|
void add(String id) throws IOException
id - the record id to be trackedIOExceptionvoid add(Iterator<String> recs) throws IOException
recs - IOExceptionvoid add(File recs) throws IOException
recs - IOExceptionvoid remove(Iterator<String> recs) throws IOException
recs - IOExceptionvoid remove(File recs) throws IOException
recs - IOExceptionvoid remove(File recs, BlobTracker.Options options) throws IOException
recs - IOExceptionIterator<String> get() throws IOException
IOExceptionFile get(String path) throws IOException
File handle is the responsibility of the handler.IOExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.