public class ResultSetIterator extends ColumnarIterator
ColumnarIterator.Row
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
currentRow, fields
DEFAULT_BATCH_SIZE, DEFAULT_CHARACTERISTICS
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
Constructor and Description |
---|
ResultSetIterator(ResultSet rs) |
ResultSetIterator(ResultSet rs,
int fetchSize) |
Modifier and Type | Method and Description |
---|---|
protected Optional<ColumnarIterator.Row> |
getRow()
Returns the next row of data based on internal state stored by the implementor, or
Optional.empty()
if there is no more data. |
forEachRemaining, getFields, hasNext, next, tryAdvance
characteristics, estimateSize, trySplit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComparator, getExactSizeIfKnown, hasCharacteristics
public ResultSetIterator(ResultSet rs) throws SQLException
SQLException
public ResultSetIterator(ResultSet rs, int fetchSize) throws SQLException
SQLException
protected Optional<ColumnarIterator.Row> getRow()
ColumnarIterator
Optional.empty()
if there is no more data.getRow
in class ColumnarIterator
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.