Module org.elasticsearch.compute
Class PageRowLimitingIterator
java.lang.Object
org.elasticsearch.compute.operator.PageRowLimitingIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<Page>,CloseableIterator<Page>
Wrapper around
CloseableIterator of Pages that stops yielding
pages once a cumulative row budget is exhausted. When the last page would overshoot
the budget, it is trimmed to the exact remaining count.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.compute.operator.CloseableIterator
tryAdvance, waitForReadyMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
PageRowLimitingIterator
-
-
Method Details