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() |
List<String> |
getEdgeVariableNames() |
List<String> |
getPathEndVariableNames() |
List<String> |
getPathStartVariableNames() |
protected org.openrdf.query.QueryResult<T> |
getResult() |
boolean |
hasNext() |
T |
next() |
ConnectionFinishPathQueryResult |
onClose(Runnable theRunnable) |
void |
remove() |
public 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 org.openrdf.query.QueryResult<T> getResult()
public boolean hasNext()
throws org.openrdf.query.QueryEvaluationException
hasNext in interface info.aduna.iteration.Iteration<T,org.openrdf.query.QueryEvaluationException>org.openrdf.query.QueryEvaluationExceptionpublic final T next()
throws org.openrdf.query.QueryEvaluationException
next in interface info.aduna.iteration.Iteration<T,org.openrdf.query.QueryEvaluationException>org.openrdf.query.QueryEvaluationExceptionpublic void remove()
throws org.openrdf.query.QueryEvaluationException
remove in interface info.aduna.iteration.Iteration<T,org.openrdf.query.QueryEvaluationException>org.openrdf.query.QueryEvaluationExceptionpublic final void close()
throws org.openrdf.query.QueryEvaluationException
close in interface info.aduna.iteration.CloseableIteration<T,org.openrdf.query.QueryEvaluationException>close in interface AutoCloseableorg.openrdf.query.QueryEvaluationExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.