Class SeekableDataInputStream

    • Constructor Detail

      • SeekableDataInputStream

        public SeekableDataInputStream​(StreamType stream)
    • Method Detail

      • seek

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

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

        public boolean seekToNewSource​(long targetPos)
                                throws IOException
        Specified by:
        seekToNewSource in interface org.apache.hadoop.fs.Seekable
        Throws:
        IOException