Class ChecksumIndexInput

    • Method Detail

      • seek

        public void seek(long pos)
                  throws IOException
        Sets current position in this file, where the next read will occur. If this is beyond the end of the file then this will throw EOFException and then the stream is in an undetermined state. ChecksumIndexInput can only seek forward and seeks are expensive since they imply to read bytes in-between the current position and the target position in order to update the checksum.
        Specified by:
        seek in class IndexInput
        See Also: