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 int
The field for thedocCount
record component.private final FieldInfo
The field for thefieldInfo
record component.private final long
The field for theindexStartFP
record component.private final BytesRef
The field for themaxTerm
record component.private final BytesRef
The field for theminTerm
record component.private final long
The field for thenumTerms
record component.private final FSTOrdsOutputs.Output
The field for therootCode
record component.private final long
The field for thesumDocFreq
record component.private final long
The field for thesumTotalTermFreq
record component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
FieldMetaData
(FieldInfo fieldInfo, FSTOrdsOutputs.Output rootCode, long numTerms, long indexStartFP, long sumTotalTermFreq, long sumDocFreq, int docCount, BytesRef minTerm, BytesRef maxTerm) Creates an instance of aFieldMetaData
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
docCount()
Returns the value of thedocCount
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefieldInfo
record component.final int
hashCode()
Returns a hash code value for this object.long
Returns the value of theindexStartFP
record component.maxTerm()
Returns the value of themaxTerm
record component.minTerm()
Returns the value of theminTerm
record component.long
numTerms()
Returns the value of thenumTerms
record component.rootCode()
Returns the value of therootCode
record component.long
Returns the value of thesumDocFreq
record component.long
Returns the value of thesumTotalTermFreq
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
fieldInfo
The field for thefieldInfo
record component. -
rootCode
The field for therootCode
record component. -
numTerms
private final long numTermsThe field for thenumTerms
record component. -
indexStartFP
private final long indexStartFPThe field for theindexStartFP
record component. -
sumTotalTermFreq
private final long sumTotalTermFreqThe field for thesumTotalTermFreq
record component. -
sumDocFreq
private final long sumDocFreqThe field for thesumDocFreq
record component. -
docCount
private final int docCountThe field for thedocCount
record component. -
minTerm
The field for theminTerm
record component. -
maxTerm
The field for themaxTerm
record 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 aFieldMetaData
record class.- Parameters:
fieldInfo
- the value for thefieldInfo
record componentrootCode
- the value for therootCode
record componentnumTerms
- the value for thenumTerms
record componentindexStartFP
- the value for theindexStartFP
record componentsumTotalTermFreq
- the value for thesumTotalTermFreq
record componentsumDocFreq
- the value for thesumDocFreq
record componentdocCount
- the value for thedocCount
record componentminTerm
- the value for theminTerm
record componentmaxTerm
- the value for themaxTerm
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 '=='. -
fieldInfo
Returns the value of thefieldInfo
record component.- Returns:
- the value of the
fieldInfo
record component
-
rootCode
Returns the value of therootCode
record component.- Returns:
- the value of the
rootCode
record component
-
numTerms
public long numTerms()Returns the value of thenumTerms
record component.- Returns:
- the value of the
numTerms
record component
-
indexStartFP
public long indexStartFP()Returns the value of theindexStartFP
record component.- Returns:
- the value of the
indexStartFP
record component
-
sumTotalTermFreq
public long sumTotalTermFreq()Returns the value of thesumTotalTermFreq
record component.- Returns:
- the value of the
sumTotalTermFreq
record component
-
sumDocFreq
public long sumDocFreq()Returns the value of thesumDocFreq
record component.- Returns:
- the value of the
sumDocFreq
record component
-
docCount
public int docCount()Returns the value of thedocCount
record component.- Returns:
- the value of the
docCount
record component
-
minTerm
Returns the value of theminTerm
record component.- Returns:
- the value of the
minTerm
record component
-
maxTerm
Returns the value of themaxTerm
record component.- Returns:
- the value of the
maxTerm
record component
-