Class ORemoteResultSet
java.lang.Object
com.orientechnologies.orient.client.remote.message.ORemoteResultSet
- All Implemented Interfaces:
OResultSet,AutoCloseable,Iterator<OResult>,Spliterator<OResult>
Created by luigidellaquila on 05/12/16.
-
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
ConstructorsConstructorDescriptionORemoteResultSet(ODatabaseDocumentRemote db, String queryId, List<OResult> currentPage, Optional<OExecutionPlan> executionPlan, Map<String, Long> queryStats, boolean hasNextPage) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.sql.executor.OResultSet
characteristics, edgeStream, elementStream, estimateSize, forEachRemaining, remove, reset, stream, tryAdvance, trySplit, vertexStreamMethods inherited from interface java.util.Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
-
Constructor Details
-
ORemoteResultSet
public ORemoteResultSet(ODatabaseDocumentRemote db, String queryId, List<OResult> currentPage, Optional<OExecutionPlan> executionPlan, Map<String, Long> queryStats, boolean hasNextPage)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<OResult>- Specified by:
hasNextin interfaceOResultSet
-
next
- Specified by:
nextin interfaceIterator<OResult>- Specified by:
nextin interfaceOResultSet
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceOResultSet
-
getExecutionPlan
- Specified by:
getExecutionPlanin interfaceOResultSet
-
getQueryStats
- Specified by:
getQueryStatsin interfaceOResultSet
-
add
-
hasNextPage
public boolean hasNextPage() -
getQueryId
-
fetched
-