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.IndexOutput
out
-
Constructor Summary
Constructors Constructor Description FilterIndexOutput(java.lang.String resourceDescription, org.apache.lucene.store.IndexOutput out)
-
Method Summary
Modifier and Type Method Description void
close()
long
getChecksum()
long
getFilePointer()
void
writeByte(byte b)
void
writeBytes(byte[] b, int offset, int 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
-
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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classorg.apache.lucene.store.IndexOutput
- Throws:
java.io.IOException
-
getFilePointer
public long getFilePointer()- Specified by:
getFilePointer
in classorg.apache.lucene.store.IndexOutput
-
getChecksum
public long getChecksum() throws java.io.IOException- Specified by:
getChecksum
in classorg.apache.lucene.store.IndexOutput
- Throws:
java.io.IOException
-
writeByte
public void writeByte(byte b) throws java.io.IOException- Specified by:
writeByte
in 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:
writeBytes
in classorg.apache.lucene.store.DataOutput
- Throws:
java.io.IOException
-