Class FSDirectory.FSIndexInput

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    FSDirectory

    protected static class FSDirectory.FSIndexInput
    extends org.apache.lucene.store.BufferedIndexInput
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected FSDirectory.FSIndexInput.Descriptor file  
      • Fields inherited from class org.apache.lucene.store.BufferedIndexInput

        buffer, BUFFER_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      FSIndexInput​(java.io.File path)  
      FSIndexInput​(java.io.File path, int bufferSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      void close()  
      long length()  
      protected void readInternal​(byte[] b, int offset, int len)
      IndexInput methods
      protected void seekInternal​(long position)  
      • Methods inherited from class org.apache.lucene.store.BufferedIndexInput

        getBufferSize, getFilePointer, newBuffer, readByte, readBytes, readBytes, seek, setBufferSize
      • Methods inherited from class org.apache.lucene.store.IndexInput

        readChars, readInt, readLong, readString, readVInt, readVLong, setModifiedUTF8StringsMode, skipChars
      • Methods inherited from class java.lang.Object

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

      • FSIndexInput

        public FSIndexInput​(java.io.File path)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • FSIndexInput

        public FSIndexInput​(java.io.File path,
                            int bufferSize)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • readInternal

        protected void readInternal​(byte[] b,
                                    int offset,
                                    int len)
                             throws java.io.IOException
        IndexInput methods
        Specified by:
        readInternal in class org.apache.lucene.store.BufferedIndexInput
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in class org.apache.lucene.store.IndexInput
        Throws:
        java.io.IOException
      • seekInternal

        protected void seekInternal​(long position)
        Specified by:
        seekInternal in class org.apache.lucene.store.BufferedIndexInput
      • length

        public long length()
        Specified by:
        length in class org.apache.lucene.store.IndexInput
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class org.apache.lucene.store.BufferedIndexInput