Interface BlobTracker
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
BlobIdTracker
Track the blob ids.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the ids in the given file.voidAdds the given id.voidAdds the given ids.get()Fetches an iterator of records available.Fetches a File object which having all the sorted records.voidRemove the ids in the given file and deletes the file.voidremove(File recs, BlobTracker.Options options) Remove the ids in the given file and deletes the file.voidRemove the given ids.
-
Method Details
-
add
Adds the given id.- Parameters:
id- the record id to be tracked- Throws:
IOException
-
add
Adds the given ids.- Parameters:
recs-- Throws:
IOException
-
add
Adds the ids in the given file.- Parameters:
recs-- Throws:
IOException
-
remove
Remove the given ids.- Parameters:
recs-- Throws:
IOException
-
remove
Remove the ids in the given file and deletes the file.- Parameters:
recs-- Throws:
IOException
-
remove
Remove the ids in the given file and deletes the file.- Parameters:
recs-- Throws:
IOException
-
get
Fetches an iterator of records available.- Returns:
- Throws:
IOException
-
get
Fetches a File object which having all the sorted records. The lifecycle of the returnedFilehandle is the responsibility of the handler.- Returns:
- Throws:
IOException
-