Interface BlobTracker
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
BlobIdTracker
Track the blob ids.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the ids in the given file.void
Adds the given id.void
Adds the given ids.get()
Fetches an iterator of records available.Fetches a File object which having all the sorted records.void
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 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 returnedFile
handle is the responsibility of the handler.- Returns:
- Throws:
IOException
-