Class VerifyingIndexOutput

    • Method Summary

      Modifier and Type Method Description
      abstract void verify()
      Verifies the checksum and compares the written length with the expected file length.
      • Methods inherited from class org.apache.lucene.store.IndexOutput

        getName, toString
      • Methods inherited from class org.apache.lucene.store.DataOutput

        copyBytes, writeBytes, writeInt, writeLong, writeMapOfStrings, writeSetOfStrings, writeShort, writeString, writeVInt, writeVLong, writeZInt, writeZLong
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • verify

        public abstract void verify()
                             throws java.io.IOException
        Verifies the checksum and compares the written length with the expected file length. This method should be called after all data has been written to this output.
        Throws:
        java.io.IOException