Module org.apache.lucene.core
Record Class Lucene90DocValuesProducer.DocValuesSkipperEntry
java.lang.Object
java.lang.Record
org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer.DocValuesSkipperEntry
- Enclosing class:
Lucene90DocValuesProducer
private static record Lucene90DocValuesProducer.DocValuesSkipperEntry(long offset, long length, long minValue, long maxValue, int docCount, int maxDocId)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thedocCountrecord component.private final longThe field for thelengthrecord component.private final intThe field for themaxDocIdrecord component.private final longThe field for themaxValuerecord component.private final longThe field for theminValuerecord component.private final longThe field for theoffsetrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDocValuesSkipperEntry(long offset, long length, long minValue, long maxValue, int docCount, int maxDocId) Creates an instance of aDocValuesSkipperEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdocCount()Returns the value of thedocCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longlength()Returns the value of thelengthrecord component.intmaxDocId()Returns the value of themaxDocIdrecord component.longmaxValue()Returns the value of themaxValuerecord component.longminValue()Returns the value of theminValuerecord component.longoffset()Returns the value of theoffsetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
offset
private final long offsetThe field for theoffsetrecord component. -
length
private final long lengthThe field for thelengthrecord component. -
minValue
private final long minValueThe field for theminValuerecord component. -
maxValue
private final long maxValueThe field for themaxValuerecord component. -
docCount
private final int docCountThe field for thedocCountrecord component. -
maxDocId
private final int maxDocIdThe field for themaxDocIdrecord component.
-
-
Constructor Details
-
DocValuesSkipperEntry
private DocValuesSkipperEntry(long offset, long length, long minValue, long maxValue, int docCount, int maxDocId) Creates an instance of aDocValuesSkipperEntryrecord class.- Parameters:
offset- the value for theoffsetrecord componentlength- the value for thelengthrecord componentminValue- the value for theminValuerecord componentmaxValue- the value for themaxValuerecord componentdocCount- the value for thedocCountrecord componentmaxDocId- the value for themaxDocIdrecord 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. All components in this record class are compared with '=='. -
offset
public long offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
length
public long length()Returns the value of thelengthrecord component.- Returns:
- the value of the
lengthrecord component
-
minValue
public long minValue()Returns the value of theminValuerecord component.- Returns:
- the value of the
minValuerecord component
-
maxValue
public long maxValue()Returns the value of themaxValuerecord component.- Returns:
- the value of the
maxValuerecord component
-
docCount
public int docCount()Returns the value of thedocCountrecord component.- Returns:
- the value of the
docCountrecord component
-
maxDocId
public int maxDocId()Returns the value of themaxDocIdrecord component.- Returns:
- the value of the
maxDocIdrecord component
-