Interface OrcDataReader

All Known Implementing Classes:
AbstractDiskOrcDataReader, MemoryOrcDataReader

public interface OrcDataReader
  • Method Details

    • getOrcDataSourceId

      OrcDataSourceId getOrcDataSourceId()
    • getRetainedSize

      long getRetainedSize()
      Gets the memory size of this instance.
    • getSize

      int getSize()
      Total size of the data that can be accessed with seekBuffer(int).
    • getMaxBufferSize

      int getMaxBufferSize()
      Maximum size of the buffer returned from seekBuffer(int).
    • seekBuffer

      io.airlift.slice.Slice seekBuffer(int position) throws IOException
      Returns a buffer of the data starting at the specified position. This will return a buffer of getMaxBufferSize(), unless near the end of the data.
      Throws:
      IOException