Interface SeekableDecorator

All Superinterfaces:
org.apache.hadoop.fs.Seekable
All Known Implementing Classes:
SeekableInputStream

public interface SeekableDecorator extends org.apache.hadoop.fs.Seekable
  • Method Summary

    Modifier and Type
    Method
    Description
    default long
     
    org.apache.hadoop.fs.Seekable
     
    default void
    seek(long l)
     
    default boolean
     
  • Method Details

    • getSeekable

      org.apache.hadoop.fs.Seekable getSeekable()
    • seek

      default void seek(long l) throws IOException
      Specified by:
      seek in interface org.apache.hadoop.fs.Seekable
      Throws:
      IOException
    • getPos

      default long getPos() throws IOException
      Specified by:
      getPos in interface org.apache.hadoop.fs.Seekable
      Throws:
      IOException
    • seekToNewSource

      default boolean seekToNewSource(long l) throws IOException
      Specified by:
      seekToNewSource in interface org.apache.hadoop.fs.Seekable
      Throws:
      IOException