Class FilterIndexOutput
java.lang.Object
org.apache.lucene.store.DataOutput
org.apache.lucene.store.IndexOutput
org.elasticsearch.common.lucene.store.FilterIndexOutput
- All Implemented Interfaces:
java.io.Closeable,java.lang.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 Modifier and Type Field Description protected org.apache.lucene.store.IndexOutputout -
Constructor Summary
Constructors Constructor Description FilterIndexOutput(java.lang.String resourceDescription, org.apache.lucene.store.IndexOutput out) -
Method Summary
Modifier and Type Method Description voidclose()longgetChecksum()longgetFilePointer()voidwriteByte(byte b)voidwriteBytes(byte[] b, int offset, int length)
-
Field Details
-
out
protected final org.apache.lucene.store.IndexOutput out
-
-
Constructor Details
-
FilterIndexOutput
public FilterIndexOutput(java.lang.String resourceDescription, org.apache.lucene.store.IndexOutput out)
-
-
Method Details
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classorg.apache.lucene.store.IndexOutput- Throws:
java.io.IOException
-
getFilePointer
public long getFilePointer()- Specified by:
getFilePointerin classorg.apache.lucene.store.IndexOutput
-
getChecksum
public long getChecksum() throws java.io.IOException- Specified by:
getChecksumin classorg.apache.lucene.store.IndexOutput- Throws:
java.io.IOException
-
writeByte
public void writeByte(byte b) throws java.io.IOException- Specified by:
writeBytein classorg.apache.lucene.store.DataOutput- Throws:
java.io.IOException
-
writeBytes
public void writeBytes(byte[] b, int offset, int length) throws java.io.IOException- Specified by:
writeBytesin classorg.apache.lucene.store.DataOutput- Throws:
java.io.IOException
-