public interface RuntimeResult extends AutoCloseable
| Modifier and Type | Interface and Description |
|---|---|
static class |
RuntimeResult.ConsumptionState |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
accept(QueryResult.QueryResultVisitor<E> visitor)
Consume this result using a visitor.
|
com.mware.ge.io.ResourceIterator<Map<String,Object>> |
asIterator()
Consume this result as an iterator.
|
void |
close() |
RuntimeResult.ConsumptionState |
consumptionState()
Returns the consumption state of this result.
|
String[] |
fieldNames()
Names of the returned fields of this result.
|
boolean |
isIterable()
True if this result can be consumed as an iterator.
|
QueryProfile |
queryProfile()
Get the
QueryProfile of this query execution. |
QueryStatistics |
queryStatistics()
Get the
QueryStatistics related to this query execution. |
String[] fieldNames()
boolean isIterable()
asIterator().com.mware.ge.io.ResourceIterator<Map<String,Object>> asIterator()
isIterable() is false.RuntimeResult.ConsumptionState consumptionState()
asIterator() or accept(QueryResult.QueryResultVisitor).<E extends Exception> void accept(QueryResult.QueryResultVisitor<E> visitor) throws E extends Exception
E extends ExceptionQueryStatistics queryStatistics()
QueryStatistics related to this query execution.QueryProfile queryProfile()
QueryProfile of this query execution.void close()
close in interface AutoCloseableCopyright © 2016–2020 MWARE SOLUTIONS. All rights reserved.