Interface OrcDataSource

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
AbstractOrcDataSource, CachingOrcDataSource, FileOrcDataSource, MemoryOrcDataSource

public interface OrcDataSource extends Closeable
  • Method Details

    • getId

    • getReadBytes

      long getReadBytes()
    • getReadTimeNanos

      long getReadTimeNanos()
    • getEstimatedSize

      long getEstimatedSize()
    • getRetainedSize

      long getRetainedSize()
      Gets the memory size of this data source. This only includes memory used for the data source and not memory assigned to a specific OrcDataReader.
    • readTail

      io.airlift.slice.Slice readTail(int length) throws IOException
      Throws:
      IOException
    • readFully

      io.airlift.slice.Slice readFully(long position, int length) throws IOException
      Throws:
      IOException
    • readFully

      <K> Map<K,OrcDataReader> readFully(Map<K,DiskRange> diskRanges) throws IOException
      Throws:
      IOException
    • close

      default void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException