Lucene912PostingsReader (Lucene 10.5.1 backward-codecs API)
Description: declaration: package: org.apache.lucene.backward_codecs.lucene912, class: Lucene912PostingsReader

Package org.apache.lucene.backward_codecs.lucene912

# Class Lucene912PostingsReader

java.lang.Object
org.apache.lucene.codecs.PostingsReaderBase
org.apache.lucene.backward_codecs.lucene912.Lucene912PostingsReader

All Implemented Interfaces:
  `Closeable`, `AutoCloseable`

public final class Lucene912PostingsReader extends PostingsReaderBase
Concrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format.

WARNING: This API is experimental and might change in incompatible ways in the next release.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Lucene912PostingsReader(SegmentReadState state)`
  Sole constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `checkIntegrity()`
  `void`
  `close()`
  `void`
  `decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)`
  `ImpactsEnum`
  `impacts(FieldInfo fieldInfo, BlockTermState state, int flags)`
  `void`
  `init(IndexInput termsIn, SegmentReadState state)`
  `BlockTermState`
  `newTermState()`
  `PostingsEnum`
  `postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Lucene912PostingsReader

    public Lucene912PostingsReader(SegmentReadState state) throws IOException
    Sole constructor.
    Throws:
      `IOException`

- ## Method Details

  - ### init

    public void init(IndexInput termsIn, SegmentReadState state) throws IOException
    Specified by:
      `init` in class `PostingsReaderBase`
    Throws:
      `IOException`

  - ### newTermState

    public BlockTermState newTermState()
    Specified by:
      `newTermState` in class `PostingsReaderBase`

  - ### close

    public void close() throws IOException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Closeable`
    Specified by:
      `close` in class `PostingsReaderBase`
    Throws:
      `IOException`

  - ### decodeTerm

    public void decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) throws IOException
    Specified by:
      `decodeTerm` in class `PostingsReaderBase`
    Throws:
      `IOException`

  - ### postings

    public PostingsEnum postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) throws IOException
    Specified by:
      `postings` in class `PostingsReaderBase`
    Throws:
      `IOException`

  - ### impacts

    public ImpactsEnum impacts(FieldInfo fieldInfo, BlockTermState state, int flags) throws IOException
    Specified by:
      `impacts` in class `PostingsReaderBase`
    Throws:
      `IOException`

  - ### checkIntegrity

    public void checkIntegrity() throws IOException
    Specified by:
      `checkIntegrity` in class `PostingsReaderBase`
    Throws:
      `IOException`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`