Record Class FSTOrdsOutputs.Output

java.lang.Object
java.lang.Record
org.apache.lucene.codecs.blocktreeords.FSTOrdsOutputs.Output
Record Components:
startOrd - Inclusive:
endOrd - Inclusive:
Enclosing class:
FSTOrdsOutputs

public static record FSTOrdsOutputs.Output(BytesRef bytes, long startOrd, long endOrd) extends Record
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final BytesRef
    The field for the bytes record component.
    private final long
    The field for the endOrd record component.
    private final long
    The field for the startOrd record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Output(BytesRef bytes, long startOrd, long endOrd)
    Creates an instance of a Output record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the bytes record component.
    long
    Returns the value of the endOrd 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 startOrd record component.
    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

    • bytes

      private final BytesRef bytes
      The field for the bytes record component.
    • startOrd

      private final long startOrd
      The field for the startOrd record component.
    • endOrd

      private final long endOrd
      The field for the endOrd record component.
  • Constructor Details

    • Output

      public Output(BytesRef bytes, long startOrd, long endOrd)
      Creates an instance of a Output record class.
      Parameters:
      bytes - the value for the bytes record component
      startOrd - the value for the startOrd record component
      endOrd - the value for the endOrd record component
  • Method Details

    • toString

      public 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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • bytes

      public BytesRef bytes()
      Returns the value of the bytes record component.
      Returns:
      the value of the bytes record component
    • startOrd

      public long startOrd()
      Returns the value of the startOrd record component.
      Returns:
      the value of the startOrd record component
    • endOrd

      public long endOrd()
      Returns the value of the endOrd record component.
      Returns:
      the value of the endOrd record component