Module org.apache.lucene.sandbox
Record Class VersionBlockTreeTermsWriter.FieldMetaData
java.lang.Object
java.lang.Record
org.apache.lucene.sandbox.codecs.idversion.VersionBlockTreeTermsWriter.FieldMetaData
- Enclosing class:
VersionBlockTreeTermsWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FieldInfoThe field for thefieldInforecord component.private final longThe field for theindexStartFPrecord component.private final BytesRefThe field for themaxTermrecord component.private final BytesRefThe field for theminTermrecord component.private final longThe field for thenumTermsrecord component.private final PairOutputs.Pair<BytesRef, Long> The field for therootCoderecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFieldMetaData(FieldInfo fieldInfo, PairOutputs.Pair<BytesRef, Long> rootCode, long numTerms, long indexStartFP, BytesRef minTerm, BytesRef maxTerm) Creates an instance of aFieldMetaDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldInforecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theindexStartFPrecord component.maxTerm()Returns the value of themaxTermrecord component.minTerm()Returns the value of theminTermrecord component.longnumTerms()Returns the value of thenumTermsrecord component.rootCode()Returns the value of therootCoderecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
fieldInfo
The field for thefieldInforecord component. -
rootCode
The field for therootCoderecord component. -
numTerms
private final long numTermsThe field for thenumTermsrecord component. -
indexStartFP
private final long indexStartFPThe field for theindexStartFPrecord component. -
minTerm
The field for theminTermrecord component. -
maxTerm
The field for themaxTermrecord component.
-
-
Constructor Details
-
FieldMetaData
private FieldMetaData(FieldInfo fieldInfo, PairOutputs.Pair<BytesRef, Long> rootCode, long numTerms, long indexStartFP, BytesRef minTerm, BytesRef maxTerm) Creates an instance of aFieldMetaDatarecord class.- Parameters:
fieldInfo- the value for thefieldInforecord componentrootCode- the value for therootCoderecord componentnumTerms- the value for thenumTermsrecord componentindexStartFP- the value for theindexStartFPrecord componentminTerm- the value for theminTermrecord componentmaxTerm- the value for themaxTermrecord 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 '=='. -
fieldInfo
Returns the value of thefieldInforecord component.- Returns:
- the value of the
fieldInforecord component
-
rootCode
Returns the value of therootCoderecord component.- Returns:
- the value of the
rootCoderecord component
-
numTerms
public long numTerms()Returns the value of thenumTermsrecord component.- Returns:
- the value of the
numTermsrecord component
-
indexStartFP
public long indexStartFP()Returns the value of theindexStartFPrecord component.- Returns:
- the value of the
indexStartFPrecord component
-
minTerm
Returns the value of theminTermrecord component.- Returns:
- the value of the
minTermrecord component
-
maxTerm
Returns the value of themaxTermrecord component.- Returns:
- the value of the
maxTermrecord component
-