Package io.trino.filesystem.cache
Class DefaultCacheKeyProvider
java.lang.Object
io.trino.filesystem.cache.DefaultCacheKeyProvider
- All Implemented Interfaces:
CacheKeyProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCacheKey(TrinoInputFile inputFile) Get the cache key of a TrinoInputFile.
-
Constructor Details
-
DefaultCacheKeyProvider
public DefaultCacheKeyProvider()
-
-
Method Details
-
getCacheKey
Description copied from interface:CacheKeyProviderGet the cache key of a TrinoInputFile. Returns Optional.empty() if the file is not cacheable.- Specified by:
getCacheKeyin interfaceCacheKeyProvider- Throws:
IOException
-