Interface TrinoInput

All Superinterfaces:
AutoCloseable, Closeable

public interface TrinoInput extends Closeable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    readFully(long position, byte[] buffer, int bufferOffset, int bufferLength)
     
    default io.airlift.slice.Slice
    readFully(long position, int length)
     
    int
    readTail(byte[] buffer, int bufferOffset, int bufferLength)
     
    default io.airlift.slice.Slice
    readTail(int length)
     

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • readFully

      void readFully(long position, byte[] buffer, int bufferOffset, int bufferLength) throws IOException
      Throws:
      IOException
    • readTail

      int readTail(byte[] buffer, int bufferOffset, int bufferLength) throws IOException
      Throws:
      IOException
    • readFully

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

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