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 int
The field for thedocCount
record component.private final long
The field for thelength
record component.private final int
The field for themaxDocId
record component.private final long
The field for themaxValue
record component.private final long
The field for theminValue
record component.private final long
The field for theoffset
record component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
DocValuesSkipperEntry
(long offset, long length, long minValue, long maxValue, int docCount, int maxDocId) Creates an instance of aDocValuesSkipperEntry
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.final int
hashCode()
Returns a hash code value for this object.long
length()
Returns the value of thelength
record component.int
maxDocId()
Returns the value of themaxDocId
record component.long
maxValue()
Returns the value of themaxValue
record component.long
minValue()
Returns the value of theminValue
record component.long
offset()
Returns the value of theoffset
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
offset
private final long offsetThe field for theoffset
record component. -
length
private final long lengthThe field for thelength
record component. -
minValue
private final long minValueThe field for theminValue
record component. -
maxValue
private final long maxValueThe field for themaxValue
record component. -
docCount
private final int docCountThe field for thedocCount
record component. -
maxDocId
private final int maxDocIdThe field for themaxDocId
record component.
-
-
Constructor Details
-
DocValuesSkipperEntry
private DocValuesSkipperEntry(long offset, long length, long minValue, long maxValue, int docCount, int maxDocId) Creates an instance of aDocValuesSkipperEntry
record class.- Parameters:
offset
- the value for theoffset
record componentlength
- the value for thelength
record componentminValue
- the value for theminValue
record componentmaxValue
- the value for themaxValue
record componentdocCount
- the value for thedocCount
record componentmaxDocId
- the value for themaxDocId
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. All components in this record class are compared with '=='. -
offset
public long offset()Returns the value of theoffset
record component.- Returns:
- the value of the
offset
record component
-
length
public long length()Returns the value of thelength
record component.- Returns:
- the value of the
length
record component
-
minValue
public long minValue()Returns the value of theminValue
record component.- Returns:
- the value of the
minValue
record component
-
maxValue
public long maxValue()Returns the value of themaxValue
record component.- Returns:
- the value of the
maxValue
record component
-
docCount
public int docCount()Returns the value of thedocCount
record component.- Returns:
- the value of the
docCount
record component
-
maxDocId
public int maxDocId()Returns the value of themaxDocId
record component.- Returns:
- the value of the
maxDocId
record component
-