Class ByteArrayInputStream
java.lang.Object
io.trino.orc.stream.ByteArrayInputStream
- All Implemented Interfaces:
ValueInputStream<ByteArrayStreamCheckpoint>
public class ByteArrayInputStream
extends Object
implements ValueInputStream<ByteArrayStreamCheckpoint>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnext(byte[] data, int offset, int length) byte[]next(int length) voidseekToCheckpoint(ByteArrayStreamCheckpoint checkpoint) voidskip(long skipSize)
-
Constructor Details
-
ByteArrayInputStream
-
-
Method Details
-
next
- Throws:
IOException
-
next
- Throws:
IOException
-
seekToCheckpoint
- Specified by:
seekToCheckpointin interfaceValueInputStream<ByteArrayStreamCheckpoint>- Throws:
IOException
-
skip
- Specified by:
skipin interfaceValueInputStream<ByteArrayStreamCheckpoint>- Throws:
IOException
-