Class FSDirectory.FSIndexOutput

  • Enclosing class:
    FSDirectory

    protected static class FSDirectory.FSIndexOutput
    extends org.apache.lucene.store.BufferedIndexOutput
    • Constructor Summary

      Constructors 
      Constructor Description
      FSIndexOutput​(java.io.File path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flushBuffer​(byte[] b, int offset, int size)
      output methods:
      long length()  
      void seek​(long pos)
      Random-access methods
      void setLength​(long length)  
      • Methods inherited from class org.apache.lucene.store.BufferedIndexOutput

        flush, getFilePointer, writeByte, writeBytes
      • Methods inherited from class org.apache.lucene.store.IndexOutput

        copyBytes, writeBytes, writeChars, writeChars, writeInt, writeLong, writeString, writeVInt, writeVLong
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FSIndexOutput

        public FSIndexOutput​(java.io.File path)
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • flushBuffer

        public void flushBuffer​(byte[] b,
                                int offset,
                                int size)
                         throws java.io.IOException
        output methods:
        Specified by:
        flushBuffer in class org.apache.lucene.store.BufferedIndexOutput
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Overrides:
        close in class org.apache.lucene.store.BufferedIndexOutput
        Throws:
        java.io.IOException
      • seek

        public void seek​(long pos)
                  throws java.io.IOException
        Random-access methods
        Overrides:
        seek in class org.apache.lucene.store.BufferedIndexOutput
        Throws:
        java.io.IOException
      • length

        public long length()
                    throws java.io.IOException
        Specified by:
        length in class org.apache.lucene.store.BufferedIndexOutput
        Throws:
        java.io.IOException
      • setLength

        public void setLength​(long length)
                       throws java.io.IOException
        Overrides:
        setLength in class org.apache.lucene.store.IndexOutput
        Throws:
        java.io.IOException