Class OrcInputStream
java.lang.Object
java.io.InputStream
io.trino.orc.stream.OrcInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()longbooleanintread()intread(byte[] b, int off, int length) voidreadFully(byte[] buffer, int offset, int length) voidreadFully(int[] values, int offset, int length) voidreadFully(long[] values, int offset, int length) voidseekToCheckpoint(long checkpoint) longskip(long n) voidskipFully(long length) toString()Methods inherited from class java.io.InputStream
mark, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
OrcInputStream
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-
available
public int available()- Overrides:
availablein classInputStream
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skipFully
- Throws:
IOException
-
readFully
- Throws:
IOException
-
readFully
- Throws:
IOException
-
readFully
- Throws:
IOException
-
getOrcDataSourceId
-
getCheckpoint
public long getCheckpoint() -
seekToCheckpoint
- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
toString
-