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

    Modifier and Type
    Method
    Description
    boolean
    get(org.apache.flink.api.common.JobID jobId, BlobKey blobKey, File localFile)
    Copies a blob to a local file.
  • 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 ID
      localFile - The local file to copy to
      Returns:
      whether the file was copied (true) or not (false)
      Throws:
      IOException - If the copy fails