Package com.arcadedb.query.sql.parser
Class LocalResultSet
- java.lang.Object
-
- com.arcadedb.query.sql.parser.LocalResultSet
-
- All Implemented Interfaces:
ResultSet
,AutoCloseable
,Iterator<Result>
,Spliterator<Result>
public class LocalResultSet 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>>
-
-
Field Summary
-
Fields inherited from interface com.arcadedb.query.sql.executor.ResultSet
EMPTY_RESULT
-
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
-
Constructor Summary
Constructors Constructor Description LocalResultSet(InternalExecutionPlan executionPlan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Optional<ExecutionPlan>
getExecutionPlan()
boolean
hasNext()
Result
next()
String
print()
Prints the resultset content to a string.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.arcadedb.query.sql.executor.ResultSet
characteristics, copy, edgeStream, elementStream, estimateSize, forEachRemaining, nextIfAvailable, remove, reset, stream, toDocuments, toEdges, toVertices, tryAdvance, trySplit, vertexStream
-
Methods inherited from interface java.util.Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
-
-
-
-
Constructor Detail
-
LocalResultSet
public LocalResultSet(InternalExecutionPlan executionPlan)
-
-
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
-
print
public String print()
Prints the resultset content to a string. The resultset is completely browsed.
-
-