Package io.trino.orc.stream
Class DecimalInputStream
- java.lang.Object
-
- io.trino.orc.stream.DecimalInputStream
-
- All Implemented Interfaces:
ValueInputStream<DecimalStreamCheckpoint>
public class DecimalInputStream extends Object implements ValueInputStream<DecimalStreamCheckpoint>
-
-
Constructor Summary
Constructors Constructor Description DecimalInputStream(OrcChunkLoader chunkLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnextLongDecimal(long[] result, int batchSize)voidnextShortDecimal(long[] result, int batchSize)voidseekToCheckpoint(DecimalStreamCheckpoint checkpoint)voidskip(long items)
-
-
-
Constructor Detail
-
DecimalInputStream
public DecimalInputStream(OrcChunkLoader chunkLoader)
-
-
Method Detail
-
seekToCheckpoint
public void seekToCheckpoint(DecimalStreamCheckpoint checkpoint) throws IOException
- Specified by:
seekToCheckpointin interfaceValueInputStream<DecimalStreamCheckpoint>- Throws:
IOException
-
nextLongDecimal
public void nextLongDecimal(long[] result, int batchSize) throws IOException- Throws:
IOException
-
nextShortDecimal
public void nextShortDecimal(long[] result, int batchSize) throws IOException- Throws:
IOException
-
skip
public void skip(long items) throws IOException- Specified by:
skipin interfaceValueInputStream<DecimalStreamCheckpoint>- Throws:
IOException
-
-