Package io.trino.filesystem.cache
Class CacheInputFile
java.lang.Object
io.trino.filesystem.cache.CacheInputFile
- All Implemented Interfaces:
TrinoInputFile
-
Constructor Summary
ConstructorsConstructorDescriptionCacheInputFile(TrinoInputFile delegate, TrinoFileSystemCache cache, CacheKeyProvider keyProvider) -
Method Summary
-
Constructor Details
-
CacheInputFile
public CacheInputFile(TrinoInputFile delegate, TrinoFileSystemCache cache, CacheKeyProvider keyProvider)
-
-
Method Details
-
newInput
- Specified by:
newInputin interfaceTrinoInputFile- Throws:
IOException
-
newStream
- Specified by:
newStreamin interfaceTrinoInputFile- Throws:
IOException
-
length
- Specified by:
lengthin interfaceTrinoInputFile- Throws:
IOException
-
lastModified
- Specified by:
lastModifiedin interfaceTrinoInputFile- Throws:
IOException
-
exists
- Specified by:
existsin interfaceTrinoInputFile- Throws:
IOException
-
location
- Specified by:
locationin interfaceTrinoInputFile
-