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 DocValuesSkipIndexType
The field for thedocValuesSkipIndex
record component.private final DocValuesType
The field for thedocValuesType
record component.private final FieldInfos.FieldDimensions
The field for thefieldDimensions
record component.private final FieldInfos.FieldVectorProperties
The field for thefieldVectorProperties
record component.private final IndexOptions
The field for theindexOptions
record component.private final FieldInfos.IndexOptionsProperties
The field for theindexOptionsProperties
record component.private final int
The field for thenumber
record component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
FieldProperties
(int number, IndexOptions indexOptions, FieldInfos.IndexOptionsProperties indexOptionsProperties, DocValuesType docValuesType, DocValuesSkipIndexType docValuesSkipIndex, FieldInfos.FieldDimensions fieldDimensions, FieldInfos.FieldVectorProperties fieldVectorProperties) Creates an instance of aFieldProperties
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedocValuesSkipIndex
record component.Returns the value of thedocValuesType
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefieldDimensions
record component.Returns the value of thefieldVectorProperties
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theindexOptions
record component.Returns the value of theindexOptionsProperties
record component.int
number()
Returns the value of thenumber
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
number
private final int numberThe field for thenumber
record component. -
indexOptions
The field for theindexOptions
record component. -
indexOptionsProperties
The field for theindexOptionsProperties
record component. -
docValuesType
The field for thedocValuesType
record component. -
docValuesSkipIndex
The field for thedocValuesSkipIndex
record component. -
fieldDimensions
The field for thefieldDimensions
record component. -
fieldVectorProperties
The field for thefieldVectorProperties
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 aFieldProperties
record class.- Parameters:
number
- the value for thenumber
record componentindexOptions
- the value for theindexOptions
record componentindexOptionsProperties
- the value for theindexOptionsProperties
record componentdocValuesType
- the value for thedocValuesType
record componentdocValuesSkipIndex
- the value for thedocValuesSkipIndex
record componentfieldDimensions
- the value for thefieldDimensions
record componentfieldVectorProperties
- the value for thefieldVectorProperties
record 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 thenumber
record component.- Returns:
- the value of the
number
record component
-
indexOptions
Returns the value of theindexOptions
record component.- Returns:
- the value of the
indexOptions
record component
-
indexOptionsProperties
Returns the value of theindexOptionsProperties
record component.- Returns:
- the value of the
indexOptionsProperties
record component
-
docValuesType
Returns the value of thedocValuesType
record component.- Returns:
- the value of the
docValuesType
record component
-
docValuesSkipIndex
Returns the value of thedocValuesSkipIndex
record component.- Returns:
- the value of the
docValuesSkipIndex
record component
-
fieldDimensions
Returns the value of thefieldDimensions
record component.- Returns:
- the value of the
fieldDimensions
record component
-
fieldVectorProperties
Returns the value of thefieldVectorProperties
record component.- Returns:
- the value of the
fieldVectorProperties
record component
-