Class LegacyFieldsIndexReader

java.lang.Object
org.apache.lucene.backward_codecs.lucene50.compressing.FieldsIndex
org.apache.lucene.backward_codecs.lucene50.compressing.LegacyFieldsIndexReader
All Implemented Interfaces:
Closeable, AutoCloseable, Cloneable

final class LegacyFieldsIndexReader extends FieldsIndex
  • Field Details

    • maxDoc

      final int maxDoc
    • docBases

      final int[] docBases
    • startPointers

      final long[] startPointers
    • avgChunkDocs

      final int[] avgChunkDocs
    • avgChunkSizes

      final long[] avgChunkSizes
    • docBasesDeltas

      final PackedInts.Reader[] docBasesDeltas
    • startPointersDeltas

      final PackedInts.Reader[] startPointersDeltas
  • Constructor Details

  • Method Details

    • block

      private int block(int docID)
    • relativeDocBase

      private int relativeDocBase(int block, int relativeChunk)
    • relativeStartPointer

      private long relativeStartPointer(int block, int relativeChunk)
    • relativeChunk

      private int relativeChunk(int block, int relativeDoc)
    • 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
    • clone

      public LegacyFieldsIndexReader clone()
      Specified by:
      clone in class FieldsIndex
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • close

      public void close() throws IOException
      Throws:
      IOException
    • checkIntegrity

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