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 intThe field for thechunkDocsrecord component.private final intThe field for thedocBaserecord component.private final longThe field for thestartPointerrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBlockState(long startPointer, int docBase, int chunkDocs) Creates an instance of aBlockStaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thechunkDocsrecord component.intdocBase()Returns the value of thedocBaserecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thestartPointerrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
startPointer
private final long startPointerThe field for thestartPointerrecord component. -
docBase
private final int docBaseThe field for thedocBaserecord component. -
chunkDocs
private final int chunkDocsThe field for thechunkDocsrecord component.
-
-
Constructor Details
-
BlockState
private BlockState(long startPointer, int docBase, int chunkDocs) Creates an instance of aBlockStaterecord class.- Parameters:
startPointer- the value for thestartPointerrecord componentdocBase- the value for thedocBaserecord componentchunkDocs- the value for thechunkDocsrecord 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 thestartPointerrecord component.- Returns:
- the value of the
startPointerrecord component
-
docBase
public int docBase()Returns the value of thedocBaserecord component.- Returns:
- the value of the
docBaserecord component
-
chunkDocs
public int chunkDocs()Returns the value of thechunkDocsrecord component.- Returns:
- the value of the
chunkDocsrecord component
-