public interface OResultSet extends Spliterator<OResult>, Iterator<OResult>, AutoCloseable
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
Modifier and Type | Method and Description |
---|---|
default int |
characteristics() |
void |
close() |
default Stream<OEdge> |
edgeStream()
Returns the result set as a stream of vertices (filters only the results that are edges - where
the isEdge() method returns true).
|
default Stream<OElement> |
elementStream()
Returns the result set as a stream of elements (filters only the results that are elements -
where the isElement() method returns true).
|
default long |
estimateSize() |
default void |
forEachRemaining(Consumer<? super OResult> action) |
Optional<OExecutionPlan> |
getExecutionPlan() |
Map<String,Long> |
getQueryStats() |
boolean |
hasNext() |
OResult |
next() |
default void |
remove() |
default void |
reset() |
default Stream<OResult> |
stream()
Returns the result set as a stream.
|
default boolean |
tryAdvance(Consumer<? super OResult> action) |
default OResultSet |
trySplit() |
default Stream<OVertex> |
vertexStream()
Returns the result set as a stream of vertices (filters only the results that are vertices -
where the isVertex() method returns true).
|
getComparator, getExactSizeIfKnown, hasCharacteristics
void close()
close
in interface AutoCloseable
Optional<OExecutionPlan> getExecutionPlan()
default void reset()
default boolean tryAdvance(Consumer<? super OResult> action)
tryAdvance
in interface Spliterator<OResult>
default void forEachRemaining(Consumer<? super OResult> action)
forEachRemaining
in interface Iterator<OResult>
forEachRemaining
in interface Spliterator<OResult>
default OResultSet trySplit()
trySplit
in interface Spliterator<OResult>
default long estimateSize()
estimateSize
in interface Spliterator<OResult>
default int characteristics()
characteristics
in interface Spliterator<OResult>
default Stream<OResult> stream()
default Stream<OElement> elementStream()
default Stream<OVertex> vertexStream()
Copyright © 2009–2020 OrientDB. All rights reserved.