Module org.apache.lucene.core
Package org.apache.lucene.index
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final DocValuesSkipIndexTypeThe field for thedocValuesSkipIndexrecord component.private final DocValuesTypeThe field for thedocValuesTyperecord component.private final FieldInfos.FieldDimensionsThe field for thefieldDimensionsrecord component.private final FieldInfos.FieldVectorPropertiesThe field for thefieldVectorPropertiesrecord component.private final IndexOptionsThe field for theindexOptionsrecord component.private final FieldInfos.IndexOptionsPropertiesThe field for theindexOptionsPropertiesrecord component.private final intThe field for thenumberrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFieldProperties(int number, IndexOptions indexOptions, FieldInfos.IndexOptionsProperties indexOptionsProperties, DocValuesType docValuesType, DocValuesSkipIndexType docValuesSkipIndex, FieldInfos.FieldDimensions fieldDimensions, FieldInfos.FieldVectorProperties fieldVectorProperties) Creates an instance of aFieldPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedocValuesSkipIndexrecord component.Returns the value of thedocValuesTyperecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldDimensionsrecord component.Returns the value of thefieldVectorPropertiesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theindexOptionsrecord component.Returns the value of theindexOptionsPropertiesrecord component.intnumber()Returns the value of thenumberrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
number
private final int numberThe field for thenumberrecord component. -
indexOptions
The field for theindexOptionsrecord component. -
indexOptionsProperties
The field for theindexOptionsPropertiesrecord component. -
docValuesType
The field for thedocValuesTyperecord component. -
docValuesSkipIndex
The field for thedocValuesSkipIndexrecord component. -
fieldDimensions
The field for thefieldDimensionsrecord component. -
fieldVectorProperties
The field for thefieldVectorPropertiesrecord 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 aFieldPropertiesrecord class.- Parameters:
number- the value for thenumberrecord componentindexOptions- the value for theindexOptionsrecord componentindexOptionsProperties- the value for theindexOptionsPropertiesrecord componentdocValuesType- the value for thedocValuesTyperecord componentdocValuesSkipIndex- the value for thedocValuesSkipIndexrecord componentfieldDimensions- the value for thefieldDimensionsrecord componentfieldVectorProperties- the value for thefieldVectorPropertiesrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
number
public int number()Returns the value of thenumberrecord component.- Returns:
- the value of the
numberrecord component
-
indexOptions
Returns the value of theindexOptionsrecord component.- Returns:
- the value of the
indexOptionsrecord component
-
indexOptionsProperties
Returns the value of theindexOptionsPropertiesrecord component.- Returns:
- the value of the
indexOptionsPropertiesrecord component
-
docValuesType
Returns the value of thedocValuesTyperecord component.- Returns:
- the value of the
docValuesTyperecord component
-
docValuesSkipIndex
Returns the value of thedocValuesSkipIndexrecord component.- Returns:
- the value of the
docValuesSkipIndexrecord component
-
fieldDimensions
Returns the value of thefieldDimensionsrecord component.- Returns:
- the value of the
fieldDimensionsrecord component
-
fieldVectorProperties
Returns the value of thefieldVectorPropertiesrecord component.- Returns:
- the value of the
fieldVectorPropertiesrecord component
-