Package io.trino.plugin.iceberg.fileio
Class ForwardingSeekableInputStream
java.lang.Object
java.io.InputStream
org.apache.iceberg.io.SeekableInputStream
io.trino.plugin.iceberg.fileio.ForwardingSeekableInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ForwardingSeekableInputStream
extends org.apache.iceberg.io.SeekableInputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()longgetPos()voidmark(int readlimit) booleanintread()intread(byte[] b) intread(byte[] b, int off, int len) byte[]intreadNBytes(byte[] b, int off, int len) byte[]readNBytes(int len) voidreset()voidseek(long pos) longskip(long n) voidskipNBytes(long n) longtransferTo(OutputStream out) Methods inherited from class java.io.InputStream
nullInputStream
-
Constructor Details
-
ForwardingSeekableInputStream
-
-
Method Details
-
getPos
- Specified by:
getPosin classorg.apache.iceberg.io.SeekableInputStream- Throws:
IOException
-
seek
- Specified by:
seekin classorg.apache.iceberg.io.SeekableInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
readAllBytes
- Overrides:
readAllBytesin classInputStream- Throws:
IOException
-
readNBytes
- Overrides:
readNBytesin classInputStream- Throws:
IOException
-
readNBytes
- Overrides:
readNBytesin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
skipNBytes
- Overrides:
skipNBytesin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
markin classInputStream
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
transferTo
- Overrides:
transferToin classInputStream- Throws:
IOException
-