Package io.trino.orc.stream
Class LongInputStreamV2
- java.lang.Object
-
- io.trino.orc.stream.LongInputStreamV2
-
- All Implemented Interfaces:
LongInputStream,ValueInputStream<LongStreamCheckpoint>
public class LongInputStreamV2 extends Object implements LongInputStream
-
-
Constructor Summary
Constructors Constructor Description LongInputStreamV2(OrcInputStream input, boolean signed, boolean skipCorrupt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()voidnext(int[] values, int items)voidnext(long[] values, int items)voidnext(short[] values, int items)voidseekToCheckpoint(LongStreamCheckpoint checkpoint)voidskip(long items)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.orc.stream.LongInputStream
sum
-
-
-
-
Constructor Detail
-
LongInputStreamV2
public LongInputStreamV2(OrcInputStream input, boolean signed, boolean skipCorrupt)
-
-
Method Detail
-
next
public long next() throws IOException- Specified by:
nextin interfaceLongInputStream- Throws:
IOException
-
next
public void next(long[] values, int items) throws IOException- Specified by:
nextin interfaceLongInputStream- Throws:
IOException
-
next
public void next(int[] values, int items) throws IOException- Specified by:
nextin interfaceLongInputStream- Throws:
IOException
-
next
public void next(short[] values, int items) throws IOException- Specified by:
nextin interfaceLongInputStream- Throws:
IOException
-
seekToCheckpoint
public void seekToCheckpoint(LongStreamCheckpoint checkpoint) throws IOException
- Specified by:
seekToCheckpointin interfaceValueInputStream<LongStreamCheckpoint>- Throws:
IOException
-
skip
public void skip(long items) throws IOException- Specified by:
skipin interfaceValueInputStream<LongStreamCheckpoint>- Throws:
IOException
-
-