Package io.trino.filesystem.alluxio
Class AlluxioFileSystemCache
java.lang.Object
io.trino.filesystem.alluxio.AlluxioFileSystemCache
- All Implemented Interfaces:
TrinoFileSystemCache
-
Constructor Summary
ConstructorsConstructorDescriptionAlluxioFileSystemCache(io.opentelemetry.api.trace.Tracer tracer, AlluxioFileSystemCacheConfig config, AlluxioCacheStats statistics) -
Method Summary
Modifier and TypeMethodDescriptioncacheInput(TrinoInputFile delegate, String key) cacheStream(TrinoInputFile delegate, String key) voidprotected alluxio.client.file.URIStatusuriStatus(TrinoInputFile file, String key)
-
Constructor Details
-
AlluxioFileSystemCache
@Inject public AlluxioFileSystemCache(io.opentelemetry.api.trace.Tracer tracer, AlluxioFileSystemCacheConfig config, AlluxioCacheStats statistics) throws IOException - Throws:
IOException
-
-
Method Details
-
cacheInput
- Specified by:
cacheInputin interfaceTrinoFileSystemCache- Throws:
IOException
-
cacheStream
- Specified by:
cacheStreamin interfaceTrinoFileSystemCache- Throws:
IOException
-
expire
- Specified by:
expirein interfaceTrinoFileSystemCache- Throws:
IOException
-
uriStatus
protected alluxio.client.file.URIStatus uriStatus(TrinoInputFile file, String key) throws IOException - Throws:
IOException
-