public class ORemoteResultSet extends Object implements OResultSet
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
Constructor and Description |
---|
ORemoteResultSet(ODatabaseDocumentRemote db,
String queryId,
List<OResultInternal> currentPage,
Optional<OExecutionPlan> executionPlan,
Map<String,Long> queryStats,
boolean hasNextPage) |
Modifier and Type | Method and Description |
---|---|
void |
add(OResultInternal item) |
void |
close() |
void |
fetched(List<OResultInternal> result,
boolean hasNextPage,
Optional<OExecutionPlan> executionPlan,
Map<String,Long> queryStats) |
Optional<OExecutionPlan> |
getExecutionPlan() |
String |
getQueryId() |
Map<String,Long> |
getQueryStats() |
boolean |
hasNext() |
boolean |
hasNextPage() |
OResult |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characteristics, edgeStream, elementStream, estimateSize, forEachRemaining, remove, reset, stream, tryAdvance, trySplit, vertexStream
getComparator, getExactSizeIfKnown, hasCharacteristics
public ORemoteResultSet(ODatabaseDocumentRemote db, String queryId, List<OResultInternal> currentPage, Optional<OExecutionPlan> executionPlan, Map<String,Long> queryStats, boolean hasNextPage)
public boolean hasNext()
hasNext
in interface OResultSet
hasNext
in interface Iterator<OResult>
public OResult next()
next
in interface OResultSet
next
in interface Iterator<OResult>
public void close()
close
in interface OResultSet
close
in interface AutoCloseable
public Optional<OExecutionPlan> getExecutionPlan()
getExecutionPlan
in interface OResultSet
public Map<String,Long> getQueryStats()
getQueryStats
in interface OResultSet
public void add(OResultInternal item)
public boolean hasNextPage()
public String getQueryId()
public void fetched(List<OResultInternal> result, boolean hasNextPage, Optional<OExecutionPlan> executionPlan, Map<String,Long> queryStats)
Copyright © 2009–2020 OrientDB. All rights reserved.