public final class ConnectionFinishBooleanQueryResult extends Object implements BooleanQueryResult
BooleanQueryResult implementation that on close will also close its parent connection.
ConnectionFinishQueryResult| Constructor and Description |
|---|
ConnectionFinishBooleanQueryResult(BooleanQueryResult 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() |
T |
next() |
ConnectionFinishBooleanQueryResult |
onClose(Runnable theRunnable) |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbooleanValueclose, hasNext, metadata, next, streamforEachRemaining, removepublic ConnectionFinishBooleanQueryResult(BooleanQueryResult theResult, com.complexible.stardog.db.DatabaseConnection theConn)
public ConnectionFinishBooleanQueryResult onClose(Runnable theRunnable)
protected 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.