Class FieldsIndexReader

java.lang.Object
org.apache.lucene.codecs.compressing.FieldsIndex
org.apache.lucene.codecs.compressing.FieldsIndexReader
All Implemented Interfaces:
Closeable, AutoCloseable, Cloneable, Accountable

final class FieldsIndexReader extends FieldsIndex
  • Field Details

    • BASE_RAM_BYTES_USED

      private static final long BASE_RAM_BYTES_USED
    • maxDoc

      private final int maxDoc
    • blockShift

      private final int blockShift
    • numChunks

      private final int numChunks
    • docsMeta

      private final DirectMonotonicReader.Meta docsMeta
    • startPointersMeta

      private final DirectMonotonicReader.Meta startPointersMeta
    • indexInput

      private final IndexInput indexInput
    • docsStartPointer

      private final long docsStartPointer
    • docsEndPointer

      private final long docsEndPointer
    • startPointersStartPointer

      private final long startPointersStartPointer
    • startPointersEndPointer

      private final long startPointersEndPointer
    • docs

      private final DirectMonotonicReader docs
    • startPointers

      private final DirectMonotonicReader startPointers
    • maxPointer

      private final long maxPointer
  • Constructor Details

  • Method Details

    • ramBytesUsed

      public long ramBytesUsed()
      Description copied from interface: Accountable
      Return the memory usage of this object in bytes. Negative values are illegal.
    • close

      public void close() throws IOException
      Throws:
      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
    • clone

      public FieldsIndex clone()
      Specified by:
      clone in class FieldsIndex
    • getMaxPointer

      public long getMaxPointer()
    • checkIntegrity

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