Class FieldsIndexReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Cloneable

    final class FieldsIndexReader
    extends FieldsIndex
    • Constructor Detail

      • FieldsIndexReader

        FieldsIndexReader​(Directory dir,
                          java.lang.String name,
                          java.lang.String suffix,
                          java.lang.String extension,
                          java.lang.String codecName,
                          byte[] id,
                          IndexInput metaIn)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • FieldsIndexReader

        private FieldsIndexReader​(FieldsIndexReader other)
                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getStartPointer

        long getStartPointer​(int docID)
        Description copied from class: FieldsIndex
        Get the start pointer for the block that contains the given docID.
        Specified by:
        getStartPointer in class FieldsIndex
      • getMaxPointer

        public long getMaxPointer()
      • checkIntegrity

        void checkIntegrity()
                     throws java.io.IOException
        Description copied from class: FieldsIndex
        Check the integrity of the index.
        Specified by:
        checkIntegrity in class FieldsIndex
        Throws:
        java.io.IOException