Class DistributedCache.DistributedCacheEntry
- java.lang.Object
-
- org.apache.flink.api.common.cache.DistributedCache.DistributedCacheEntry
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DistributedCache
public static class DistributedCache.DistributedCacheEntry extends Object implements Serializable
Meta info about an entry inDistributedCache.Entries have different semantics for local directories depending on where we are in the job-submission process. After registration through the API
filePathdenotes the original directory. After the upload to the cluster (which includes zipping the directory),filePathdenotes the (server-side) copy of the zip.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DistributedCacheEntry(String filePath, boolean isExecutable, boolean isZipped)Client-side constructor used during job-submission for zipped directory.DistributedCacheEntry(String filePath, Boolean isExecutable)Client-side constructor used by the API for initial registration.DistributedCacheEntry(String filePath, Boolean isExecutable, byte[] blobKey)Server-side constructor used during job-submission for files.DistributedCacheEntry(String filePath, Boolean isExecutable, byte[] blobKey, boolean isZipped)Server-side constructor used during job-submission for zipped directories.
-
-
-
Constructor Detail
-
DistributedCacheEntry
public DistributedCacheEntry(String filePath, Boolean isExecutable)
Client-side constructor used by the API for initial registration.
-
DistributedCacheEntry
public DistributedCacheEntry(String filePath, boolean isExecutable, boolean isZipped)
Client-side constructor used during job-submission for zipped directory.
-
DistributedCacheEntry
public DistributedCacheEntry(String filePath, Boolean isExecutable, byte[] blobKey, boolean isZipped)
Server-side constructor used during job-submission for zipped directories.
-
-