Package org.apache.flink.runtime.blob
Interface BlobView
- All Known Subinterfaces:
BlobStore,BlobStoreService
- All Known Implementing Classes:
FileSystemBlobStore,VoidBlobStore
public interface BlobView
View on blobs stored in a
BlobStore.-
Method Summary
-
Method Details
-
get
boolean get(org.apache.flink.api.common.JobID jobId, BlobKey blobKey, File localFile) throws IOException Copies a blob to a local file.- Parameters:
jobId- ID of the job this blob belongs to (or null if job-unrelated)blobKey- The blob IDlocalFile- The local file to copy to- Returns:
- whether the file was copied (true) or not (false)
- Throws:
IOException- If the copy fails
-