Record Class Lucene90CompressingTermVectorsReader.BlockState

java.lang.Object
java.lang.Record
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsReader.BlockState
Enclosing class:
Lucene90CompressingTermVectorsReader

private static record Lucene90CompressingTermVectorsReader.BlockState(long startPointer, int docBase, int chunkDocs) extends Record
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    The field for the chunkDocs record component.
    private final int
    The field for the docBase record component.
    private final long
    The field for the startPointer record component.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    BlockState(long startPointer, int docBase, int chunkDocs)
    Creates an instance of a BlockState record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the chunkDocs record component.
    int
    Returns the value of the docBase record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the startPointer record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • startPointer

      private final long startPointer
      The field for the startPointer record component.
    • docBase

      private final int docBase
      The field for the docBase record component.
    • chunkDocs

      private final int chunkDocs
      The field for the chunkDocs record component.
  • Constructor Details

    • BlockState

      private BlockState(long startPointer, int docBase, int chunkDocs)
      Creates an instance of a BlockState record class.
      Parameters:
      startPointer - the value for the startPointer record component
      docBase - the value for the docBase record component
      chunkDocs - the value for the chunkDocs record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • startPointer

      public long startPointer()
      Returns the value of the startPointer record component.
      Returns:
      the value of the startPointer record component
    • docBase

      public int docBase()
      Returns the value of the docBase record component.
      Returns:
      the value of the docBase record component
    • chunkDocs

      public int chunkDocs()
      Returns the value of the chunkDocs record component.
      Returns:
      the value of the chunkDocs record component