java.lang.Object
org.apache.lucene.store.DataOutput
org.apache.lucene.store.IndexOutput
org.elasticsearch.common.lucene.store.FilterIndexOutput
org.elasticsearch.index.store.VerifyingIndexOutput
- All Implemented Interfaces:
- Closeable,- AutoCloseable
abstract class for verifying what was written.
 subclasses override 
FilterIndexOutput.writeByte(byte) and FilterIndexOutput.writeBytes(byte[], int, int)- 
Field SummaryFields inherited from class org.elasticsearch.common.lucene.store.FilterIndexOutputout
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidverify()Verifies the checksum and compares the written length with the expected file length.Methods inherited from class org.elasticsearch.common.lucene.store.FilterIndexOutputclose, getChecksum, getFilePointer, writeByte, writeBytesMethods inherited from class org.apache.lucene.store.IndexOutputalignFilePointer, alignOffset, getName, toStringMethods inherited from class org.apache.lucene.store.DataOutputcopyBytes, writeBytes, writeInt, writeLong, writeMapOfStrings, writeSetOfStrings, writeShort, writeString, writeVInt, writeVLong, writeZInt, writeZLong
- 
Method Details- 
verifyVerifies 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:
- IOException
 
 
-