Record Class IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount

java.lang.Object
java.lang.Record
org.apache.lucene.search.IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount
Enclosing class:
IndexSortSortedNumericDocValuesRangeQuery

private static record IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount(DocIdSetIterator it, int count) extends Record
Provides a DocIdSetIterator along with an accurate count of documents provided by the iterator (or -1 if an accurate count is unknown).
  • Field Details

    • it

      private final DocIdSetIterator it
      The field for the it record component.
    • count

      private final int count
      The field for the count record component.
  • Constructor Details

    • IteratorAndCount

      private IteratorAndCount(DocIdSetIterator it, int count)
      Creates an instance of a IteratorAndCount record class.
      Parameters:
      it - the value for the it record component
      count - the value for the count record component
  • Method Details