Package io.trino.filesystem.alluxio
Class AlluxioInputStream
java.lang.Object
java.io.InputStream
io.trino.filesystem.TrinoInputStream
io.trino.filesystem.alluxio.AlluxioInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionAlluxioInputStream(io.opentelemetry.api.trace.Tracer tracer, TrinoInputFile inputFile, String key, alluxio.client.file.URIStatus status, alluxio.client.file.cache.CacheManager cacheManager, alluxio.conf.AlluxioConfiguration configuration, AlluxioCacheStats statistics) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
Constructor Details
-
AlluxioInputStream
public AlluxioInputStream(io.opentelemetry.api.trace.Tracer tracer, TrinoInputFile inputFile, String key, alluxio.client.file.URIStatus status, alluxio.client.file.cache.CacheManager cacheManager, alluxio.conf.AlluxioConfiguration configuration, AlluxioCacheStats statistics)
-
-
Method Details
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
getPosition
public long getPosition()- Specified by:
getPositionin classTrinoInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
skipNBytes
- Overrides:
skipNBytesin classInputStream- Throws:
IOException
-
seek
- Specified by:
seekin classTrinoInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-