Package io.trino.filesystem
Class TrinoInputStream
java.lang.Object
java.io.InputStream
io.trino.filesystem.TrinoInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
TrinoInputStream
public TrinoInputStream()
-
-
Method Details
-
getPosition
- Returns:
- current position from the start of the file
- Throws:
IOException
-
seek
- Parameters:
position- the new position from the start of the file- Throws:
IOException- if the new position is negative, or an error occurs while seekingEOFException- if the new position is larger than the file size
-