Package com.arcadedb.query.sql.executor
Class IteratorResultSet
- java.lang.Object
-
- com.arcadedb.query.sql.executor.IteratorResultSet
-
- All Implemented Interfaces:
ResultSet
,AutoCloseable
,Iterator<Result>
,Spliterator<Result>
public class IteratorResultSet extends Object implements ResultSet
Created by luigidellaquila on 07/07/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>>
-
-
Constructor Summary
Constructors Constructor Description IteratorResultSet(Iterator iter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Optional<ExecutionPlan>
getExecutionPlan()
Map<String,Long>
getQueryStats()
boolean
hasNext()
Result
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.arcadedb.query.sql.executor.ResultSet
characteristics, countEntries, edgeStream, elementStream, estimateSize, forEachRemaining, remove, reset, stream, tryAdvance, trySplit, vertexStream
-
Methods inherited from interface java.util.Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
-
-
-
-
Field Detail
-
iterator
protected final Iterator iterator
-
-
Constructor Detail
-
IteratorResultSet
public IteratorResultSet(Iterator iter)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public Result next()
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResultSet
-
getExecutionPlan
public Optional<ExecutionPlan> getExecutionPlan()
- Specified by:
getExecutionPlan
in interfaceResultSet
-
getQueryStats
public Map<String,Long> getQueryStats()
- Specified by:
getQueryStats
in interfaceResultSet
-
-