Class FilterIndexOutput
java.lang.Object
org.apache.lucene.store.DataOutput
org.apache.lucene.store.IndexOutput
org.elasticsearch.common.lucene.store.FilterIndexOutput
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
VerifyingIndexOutput
public class FilterIndexOutput
extends org.apache.lucene.store.IndexOutput
IndexOutput that delegates all calls to another IndexOutput
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilterIndexOutput(String resourceDescription, org.apache.lucene.store.IndexOutput out) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longlongvoidwriteByte(byte b)voidwriteBytes(byte[] b, int offset, int length)Methods inherited from class org.apache.lucene.store.IndexOutput
getName, toStringMethods inherited from class org.apache.lucene.store.DataOutput
copyBytes, writeBytes, writeInt, writeLong, writeMapOfStrings, writeSetOfStrings, writeShort, writeString, writeVInt, writeVLong, writeZInt, writeZLong
-
Field Details
-
out
protected final org.apache.lucene.store.IndexOutput out
-
-
Constructor Details
-
FilterIndexOutput
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classorg.apache.lucene.store.IndexOutput- Throws:
IOException
-
getFilePointer
public long getFilePointer()- Specified by:
getFilePointerin classorg.apache.lucene.store.IndexOutput
-
getChecksum
- Specified by:
getChecksumin classorg.apache.lucene.store.IndexOutput- Throws:
IOException
-
writeByte
- Specified by:
writeBytein classorg.apache.lucene.store.DataOutput- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin classorg.apache.lucene.store.DataOutput- Throws:
IOException
-