Class ResultSetSpliterator
java.lang.Object
java.util.Spliterators.AbstractSpliterator<ResultRow>
cz.cvut.kbss.ontodriver.iteration.ResultSetSpliterator
- All Implemented Interfaces:
Spliterator<ResultRow>
Spliterator
implementation for a ResultSet
.
Note that the methods wrap OntoDriverException
s possibly thrown by the underlying result set in a OntoDriverRuntimeException
in order to support the Spliterator
API.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T extends Object,
T_CONS extends Object, T_SPLITR extends Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>> -
Field Summary
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
Constructor Summary
ConstructorsConstructorDescriptionResultSetSpliterator
(ResultSet resultSet) Creates a spliterator reporting unknown estimate size and the following characteristics:Spliterator.IMMUTABLE
Spliterator.ORDERED
Spliterator.NONNULL
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachRemaining
(Consumer<? super ResultRow> action) boolean
tryAdvance
(Consumer<? super ResultRow> action) Methods inherited from class java.util.Spliterators.AbstractSpliterator
characteristics, estimateSize, trySplit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
-
Constructor Details
-
ResultSetSpliterator
Creates a spliterator reporting unknown estimate size and the following characteristics:- Parameters:
resultSet
-ResultSet
on which the iteration will be performed
-
-
Method Details
-
tryAdvance
-
forEachRemaining
-