Module org.apache.lucene.facet
Record Class AbstractSortedSetDocValueFacetCounts.ChildIterationCursor
java.lang.Object
java.lang.Record
org.apache.lucene.facet.sortedset.AbstractSortedSetDocValueFacetCounts.ChildIterationCursor
- Enclosing class:
AbstractSortedSetDocValueFacetCounts
static record AbstractSortedSetDocValueFacetCounts.ChildIterationCursor(int pathOrd, PrimitiveIterator.OfInt childIterator)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PrimitiveIterator.OfIntThe field for thechildIteratorrecord component.private final intThe field for thepathOrdrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionChildIterationCursor(int pathOrd, PrimitiveIterator.OfInt childIterator) Creates an instance of aChildIterationCursorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechildIteratorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intpathOrd()Returns the value of thepathOrdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pathOrd
private final int pathOrdThe field for thepathOrdrecord component. -
childIterator
The field for thechildIteratorrecord component.
-
-
Constructor Details
-
ChildIterationCursor
ChildIterationCursor(int pathOrd, PrimitiveIterator.OfInt childIterator) Creates an instance of aChildIterationCursorrecord class.- Parameters:
pathOrd- the value for thepathOrdrecord componentchildIterator- the value for thechildIteratorrecord 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 '=='. -
pathOrd
public int pathOrd()Returns the value of thepathOrdrecord component.- Returns:
- the value of the
pathOrdrecord component
-
childIterator
Returns the value of thechildIteratorrecord component.- Returns:
- the value of the
childIteratorrecord component
-