public final class ConnectionFinishGraphQueryResult extends Object implements GraphQueryResult
GraphQueryResult implementation that on close will also close its parent connection.
ConnectionFinishQueryResult| Constructor and Description |
|---|
ConnectionFinishGraphQueryResult(GraphQueryResult theResult,
com.complexible.stardog.db.DatabaseConnection theConn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the query results and return any resources in use back to the system.
|
protected QueryResult<T> |
getResult() |
boolean |
hasNext() |
Namespaces |
namespaces()
The set of namespaces, if specified, that are to be used with the result set.
|
T |
next() |
ConnectionFinishGraphQueryResult |
onClose(Runnable theRunnable) |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoGraphclose, hasNext, metadata, next, streamforEachRemaining, removepublic ConnectionFinishGraphQueryResult(GraphQueryResult theResult, com.complexible.stardog.db.DatabaseConnection theConn)
public ConnectionFinishGraphQueryResult onClose(Runnable theRunnable)
public Namespaces namespaces()
namespaces in interface GraphQueryResultprotected 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.