Package io.trino.filesystem.gcs
Class GcsInputStream
java.lang.Object
java.io.InputStream
io.trino.filesystem.TrinoInputStream
io.trino.filesystem.gcs.GcsInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionGcsInputStream(io.trino.filesystem.gcs.GcsLocation location, com.google.cloud.storage.Blob blob, int readBlockSizeBytes, OptionalLong predeclaredLength) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
Constructor Details
-
GcsInputStream
public GcsInputStream(io.trino.filesystem.gcs.GcsLocation location, com.google.cloud.storage.Blob blob, int readBlockSizeBytes, OptionalLong predeclaredLength) throws IOException - Throws:
IOException
-
-
Method Details
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
getPosition
- Specified by:
getPositionin classTrinoInputStream- Throws:
IOException
-
seek
- Specified by:
seekin classTrinoInputStream- Throws:
IOException
-
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
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-