Module org.apache.lucene.codecs
Record Class OrdsBlockTreeTermsWriter.FieldMetaData
java.lang.Object
java.lang.Record
org.apache.lucene.codecs.blocktreeords.OrdsBlockTreeTermsWriter.FieldMetaData
- Enclosing class:
OrdsBlockTreeTermsWriter
private static record OrdsBlockTreeTermsWriter.FieldMetaData(FieldInfo fieldInfo, FSTOrdsOutputs.Output rootCode, long numTerms, long indexStartFP, long sumTotalTermFreq, long sumDocFreq, int docCount, BytesRef minTerm, BytesRef maxTerm)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thedocCountrecord component.private 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 FSTOrdsOutputs.OutputThe field for therootCoderecord component.private final longThe field for thesumDocFreqrecord component.private final longThe field for thesumTotalTermFreqrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFieldMetaData(FieldInfo fieldInfo, FSTOrdsOutputs.Output rootCode, long numTerms, long indexStartFP, long sumTotalTermFreq, long sumDocFreq, int docCount, BytesRef minTerm, BytesRef maxTerm) Creates an instance of aFieldMetaDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdocCount()Returns the value of thedocCountrecord component.final 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.longReturns the value of thesumDocFreqrecord component.longReturns the value of thesumTotalTermFreqrecord 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. -
sumTotalTermFreq
private final long sumTotalTermFreqThe field for thesumTotalTermFreqrecord component. -
sumDocFreq
private final long sumDocFreqThe field for thesumDocFreqrecord component. -
docCount
private final int docCountThe field for thedocCountrecord component. -
minTerm
The field for theminTermrecord component. -
maxTerm
The field for themaxTermrecord component.
-
-
Constructor Details
-
FieldMetaData
private FieldMetaData(FieldInfo fieldInfo, FSTOrdsOutputs.Output rootCode, long numTerms, long indexStartFP, long sumTotalTermFreq, long sumDocFreq, int docCount, 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 componentsumTotalTermFreq- the value for thesumTotalTermFreqrecord componentsumDocFreq- the value for thesumDocFreqrecord componentdocCount- the value for thedocCountrecord 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
-
sumTotalTermFreq
public long sumTotalTermFreq()Returns the value of thesumTotalTermFreqrecord component.- Returns:
- the value of the
sumTotalTermFreqrecord component
-
sumDocFreq
public long sumDocFreq()Returns the value of thesumDocFreqrecord component.- Returns:
- the value of the
sumDocFreqrecord component
-
docCount
public int docCount()Returns the value of thedocCountrecord component.- Returns:
- the value of the
docCountrecord 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
-