Module org.elasticsearch.server
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
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 TypeMethodDescriptionvoid
close()
long
long
void
writeByte
(byte b) void
writeBytes
(byte[] b, int offset, int length) Methods inherited from class org.apache.lucene.store.IndexOutput
alignFilePointer, alignOffset, getName, toString
Methods inherited from class org.apache.lucene.store.DataOutput
copyBytes, writeBytes, writeGroupVInts, 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classorg.apache.lucene.store.IndexOutput
- Throws:
IOException
-
getFilePointer
public long getFilePointer()- Specified by:
getFilePointer
in classorg.apache.lucene.store.IndexOutput
-
getChecksum
- Specified by:
getChecksum
in classorg.apache.lucene.store.IndexOutput
- Throws:
IOException
-
writeByte
- Specified by:
writeByte
in classorg.apache.lucene.store.DataOutput
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in classorg.apache.lucene.store.DataOutput
- Throws:
IOException
-