public final class ConnectionFinishPathQueryResult extends Object implements PathQueryResult
PathQueryResult implementation that on close will also close its parent connection.
ConnectionFinishQueryResult| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the query results and return any resources in use back to the system.
|
List<String> |
getEdgeVariableNames() |
List<String> |
getPathEndVariableNames() |
List<String> |
getPathStartVariableNames() |
protected QueryResult<T> |
getResult() |
boolean |
hasNext() |
T |
next() |
ConnectionFinishPathQueryResult |
onClose(Runnable theRunnable) |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, hasNext, metadata, next, streamforEachRemaining, removepublic ConnectionFinishPathQueryResult onClose(Runnable theRunnable)
public List<String> getPathStartVariableNames()
getPathStartVariableNames in interface PathQueryResultpublic List<String> getPathEndVariableNames()
getPathEndVariableNames in interface PathQueryResultpublic List<String> getEdgeVariableNames()
getEdgeVariableNames in interface PathQueryResultprotected QueryResult<T> getResult()
public boolean hasNext()
throws QueryExecutionFailure
hasNext in interface QueryResult<T>hasNext in interface Iterator<T>QueryExecutionFailurepublic final T next()
throws QueryExecutionFailure
next in interface QueryResult<T>next in interface Iterator<T>QueryExecutionFailurepublic void remove()
throws QueryExecutionFailure
remove in interface Iterator<T>QueryExecutionFailurepublic final void close()
throws QueryExecutionFailure
close in interface QueryResult<T>close in interface AutoCloseableQueryExecutionFailureCopyright © 2010-2016 Stardog Union. All Rights Reserved.