Record Class FieldInfos.FieldProperties

java.lang.Object
java.lang.Record
org.apache.lucene.index.FieldInfos.FieldProperties
Enclosing class:
FieldInfos

private static record FieldInfos.FieldProperties(int number, IndexOptions indexOptions, FieldInfos.IndexOptionsProperties indexOptionsProperties, DocValuesType docValuesType, DocValuesSkipIndexType docValuesSkipIndex, FieldInfos.FieldDimensions fieldDimensions, FieldInfos.FieldVectorProperties fieldVectorProperties) extends Record
  • Field Details

    • number

      private final int number
      The field for the number record component.
    • indexOptions

      private final IndexOptions indexOptions
      The field for the indexOptions record component.
    • indexOptionsProperties

      private final FieldInfos.IndexOptionsProperties indexOptionsProperties
      The field for the indexOptionsProperties record component.
    • docValuesType

      private final DocValuesType docValuesType
      The field for the docValuesType record component.
    • docValuesSkipIndex

      private final DocValuesSkipIndexType docValuesSkipIndex
      The field for the docValuesSkipIndex record component.
    • fieldDimensions

      private final FieldInfos.FieldDimensions fieldDimensions
      The field for the fieldDimensions record component.
    • fieldVectorProperties

      private final FieldInfos.FieldVectorProperties fieldVectorProperties
      The field for the fieldVectorProperties record component.
  • Constructor Details

    • FieldProperties

      private FieldProperties(int number, IndexOptions indexOptions, FieldInfos.IndexOptionsProperties indexOptionsProperties, DocValuesType docValuesType, DocValuesSkipIndexType docValuesSkipIndex, FieldInfos.FieldDimensions fieldDimensions, FieldInfos.FieldVectorProperties fieldVectorProperties)
      Creates an instance of a FieldProperties record class.
      Parameters:
      number - the value for the number record component
      indexOptions - the value for the indexOptions record component
      indexOptionsProperties - the value for the indexOptionsProperties record component
      docValuesType - the value for the docValuesType record component
      docValuesSkipIndex - the value for the docValuesSkipIndex record component
      fieldDimensions - the value for the fieldDimensions record component
      fieldVectorProperties - the value for the fieldVectorProperties 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. 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.
    • number

      public int number()
      Returns the value of the number record component.
      Returns:
      the value of the number record component
    • indexOptions

      public IndexOptions indexOptions()
      Returns the value of the indexOptions record component.
      Returns:
      the value of the indexOptions record component
    • indexOptionsProperties

      public FieldInfos.IndexOptionsProperties indexOptionsProperties()
      Returns the value of the indexOptionsProperties record component.
      Returns:
      the value of the indexOptionsProperties record component
    • docValuesType

      public DocValuesType docValuesType()
      Returns the value of the docValuesType record component.
      Returns:
      the value of the docValuesType record component
    • docValuesSkipIndex

      public DocValuesSkipIndexType docValuesSkipIndex()
      Returns the value of the docValuesSkipIndex record component.
      Returns:
      the value of the docValuesSkipIndex record component
    • fieldDimensions

      public FieldInfos.FieldDimensions fieldDimensions()
      Returns the value of the fieldDimensions record component.
      Returns:
      the value of the fieldDimensions record component
    • fieldVectorProperties

      public FieldInfos.FieldVectorProperties fieldVectorProperties()
      Returns the value of the fieldVectorProperties record component.
      Returns:
      the value of the fieldVectorProperties record component