E - element typeprivate static class CalciteMetaImpl.LimitIterator<E> extends Object implements Iterator<E>
limit rows from an underlying
Iterator.| Modifier and Type | Field and Description |
|---|---|
(package private) int |
i |
private Iterator<E> |
iterator |
private long |
limit |
| Modifier | Constructor and Description |
|---|---|
private |
LimitIterator(Iterator<E> iterator,
long limit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
(package private) static <E> Iterator<E> |
of(Iterator<E> iterator,
long limit) |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.