Package io.trino.filesystem.cache
Interface CacheKeyProvider
- All Known Implementing Classes:
DefaultCacheKeyProvider
public interface CacheKeyProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetCacheKey(TrinoInputFile inputFile) Get the cache key of a TrinoInputFile.
-
Method Details
-
getCacheKey
Get the cache key of a TrinoInputFile. Returns Optional.empty() if the file is not cacheable.- Throws:
IOException
-