Class InStream.CompressedStream

java.lang.Object
java.io.InputStream
org.apache.orc.impl.InStream
org.apache.orc.impl.InStream.CompressedStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
InStream

public static class InStream.CompressedStream extends InStream
  • Field Details

    • compressed

      protected ByteBuffer compressed
    • currentRange

      protected org.apache.hadoop.hive.common.io.DiskRangeList currentRange
    • currentCompressedStart

      protected long currentCompressedStart
  • Constructor Details

    • CompressedStream

      public CompressedStream(Object name, long offset, long length, InStream.StreamOptions options)
      Create the stream without resetting the input stream. This is used in subclasses so they can finish initializing before reset is called.
      Parameters:
      name - the name of the stream
      length - the total number of bytes in the stream
      options - the options used to read the stream
    • CompressedStream

      public CompressedStream(Object name, org.apache.hadoop.hive.common.io.DiskRangeList input, long offset, long length, InStream.StreamOptions options)
      Create the stream and initialize the input for the stream.
      Parameters:
      name - the name of the stream
      input - the input data
      length - the total length of the stream
      options - the options to read the data with
  • Method Details