Class 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 Detail

      • out

        protected final org.apache.lucene.store.IndexOutput out
    • Constructor Detail

      • FilterIndexOutput

        public FilterIndexOutput​(java.lang.String resourceDescription,
                                 org.apache.lucene.store.IndexOutput out)
    • Method Detail

      • close

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

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

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

        public void writeByte​(byte b)
                       throws java.io.IOException
        Specified by:
        writeByte in class org.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 class org.apache.lucene.store.DataOutput
        Throws:
        java.io.IOException