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 aBlobStore
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
get(JobID jobId, BlobKey blobKey, File localFile)
Copies a blob to a local file.
-
-
-
Method Detail
-
get
boolean get(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
-
-