Package com.complexible.common.rdf.query
Class TuplesAsPathQueryResult
java.lang.Object
com.complexible.common.rdf.query.TuplesAsPathQueryResult
- All Implemented Interfaces:
CloseableIterator<Path>,PathQueryResult,QueryResult<Path>,AutoCloseable,Iterator<Path>
A wrapper around
tuples with delimiters to restore paths.- Since:
- 5.0.4
- Version:
- 6.0
- Author:
- Pavel Klinov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.complexible.common.base.CloseableIterator
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T> -
Field Summary
Fields inherited from interface com.complexible.common.rdf.query.PathQueryResult
PATH_VAR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface com.stardog.stark.query.QueryResult
metadata, stream
-
Constructor Details
-
TuplesAsPathQueryResult
-
-
Method Details
-
getPathStartVariableNames
- Specified by:
getPathStartVariableNamesin interfacePathQueryResult
-
getPathEndVariableNames
- Specified by:
getPathEndVariableNamesin interfacePathQueryResult
-
getEdgeVariableNames
- Specified by:
getEdgeVariableNamesin interfacePathQueryResult
-
close
Close the query results and return any resources in use back to the system. This *must* be called on all result sets to avoid resource leaks.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableIterator<Path>- Specified by:
closein interfaceQueryResult<Path>- Throws:
QueryExecutionFailure
-
hasNext
- Specified by:
hasNextin interfaceIterator<Path>- Specified by:
hasNextin interfaceQueryResult<Path>- Throws:
QueryExecutionFailure
-
next
- Specified by:
nextin interfaceIterator<Path>- Specified by:
nextin interfaceQueryResult<Path>- Throws:
QueryExecutionFailure
-
remove
- Specified by:
removein interfaceIterator<Path>- Throws:
QueryExecutionFailure
-