Class FieldsIndex

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Cloneable
    Direct Known Subclasses:
    FieldsIndexReader, LegacyFieldsIndexReader

    abstract class FieldsIndex
    extends java.lang.Object
    implements java.lang.Cloneable, java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldsIndex()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      (package private) abstract void checkIntegrity()
      Check the integrity of the index.
      abstract FieldsIndex clone()  
      (package private) abstract long getStartPointer​(int docID)
      Get the start pointer for the block that contains the given docID.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.io.Closeable

        close
    • Constructor Detail

      • FieldsIndex

        FieldsIndex()
    • Method Detail

      • getStartPointer

        abstract long getStartPointer​(int docID)
        Get the start pointer for the block that contains the given docID.
      • checkIntegrity

        abstract void checkIntegrity()
                              throws java.io.IOException
        Check the integrity of the index.
        Throws:
        java.io.IOException
      • clone

        public abstract FieldsIndex clone()
        Overrides:
        clone in class java.lang.Object