Module org.apache.lucene.core
Record Class Lucene90CompressingTermVectorsReader.BlockState
java.lang.Object
java.lang.Record
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsReader.BlockState
- Enclosing class:
Lucene90CompressingTermVectorsReader
private static record Lucene90CompressingTermVectorsReader.BlockState(long startPointer, int docBase, int chunkDocs)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
The field for thechunkDocs
record component.private final int
The field for thedocBase
record component.private final long
The field for thestartPointer
record component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
BlockState
(long startPointer, int docBase, int chunkDocs) Creates an instance of aBlockState
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of thechunkDocs
record component.int
docBase()
Returns the value of thedocBase
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
Returns the value of thestartPointer
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
startPointer
private final long startPointerThe field for thestartPointer
record component. -
docBase
private final int docBaseThe field for thedocBase
record component. -
chunkDocs
private final int chunkDocsThe field for thechunkDocs
record component.
-
-
Constructor Details
-
BlockState
private BlockState(long startPointer, int docBase, int chunkDocs) Creates an instance of aBlockState
record class.- Parameters:
startPointer
- the value for thestartPointer
record componentdocBase
- the value for thedocBase
record componentchunkDocs
- the value for thechunkDocs
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 '=='. -
startPointer
public long startPointer()Returns the value of thestartPointer
record component.- Returns:
- the value of the
startPointer
record component
-
docBase
public int docBase()Returns the value of thedocBase
record component.- Returns:
- the value of the
docBase
record component
-
chunkDocs
public int chunkDocs()Returns the value of thechunkDocs
record component.- Returns:
- the value of the
chunkDocs
record component
-