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
    Modifier and Type
    Field
    Description
    protected final org.apache.lucene.store.IndexOutput
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FilterIndexOutput(String resourceDescription, org.apache.lucene.store.IndexOutput out)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    long
     
    long
     
    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(String resourceDescription, org.apache.lucene.store.IndexOutput out)
  • Method Details

    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class org.apache.lucene.store.IndexOutput
      Throws:
      IOException
    • getFilePointer

      public long getFilePointer()
      Specified by:
      getFilePointer in class org.apache.lucene.store.IndexOutput
    • getChecksum

      public long getChecksum() throws IOException
      Specified by:
      getChecksum in class org.apache.lucene.store.IndexOutput
      Throws:
      IOException
    • writeByte

      public void writeByte(byte b) throws IOException
      Specified by:
      writeByte in class org.apache.lucene.store.DataOutput
      Throws:
      IOException
    • writeBytes

      public void writeBytes(byte[] b, int offset, int length) throws IOException
      Specified by:
      writeBytes in class org.apache.lucene.store.DataOutput
      Throws:
      IOException