Package com.complexible.common.rdf.query
Class IteratorAsPathQueryResult
java.lang.Object
com.google.common.collect.UnmodifiableIterator<Path>
com.google.common.collect.AbstractIterator<Path>
com.complexible.common.rdf.query.IteratorAsQueryResult<Path>
com.complexible.common.rdf.query.IteratorAsPathQueryResult
- All Implemented Interfaces:
CloseableIterator<Path>,PathQueryResult,QueryResult<Path>,AutoCloseable,Iterator<Path>
public final class IteratorAsPathQueryResult
extends IteratorAsQueryResult<Path>
implements PathQueryResult
Adapter class for using a BindingSetIteration as a PathQueryResult
- Since:
- 0.4
-
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
ConstructorsConstructorDescriptionIteratorAsPathQueryResult(CloseableIterator<Path> theIter, List<String> theStartVars, List<String> theEndVars, List<String> theEdgeVars, Runnable theOnClose, Runnable theOnSuccess, Function<Exception, RuntimeException> theOnError) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.complexible.common.rdf.query.IteratorAsQueryResult
close, computeNextMethods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peekMethods inherited from class com.google.common.collect.UnmodifiableIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
IteratorAsPathQueryResult
-
-
Method Details
-
getPathStartVariableNames
- Specified by:
getPathStartVariableNamesin interfacePathQueryResult
-
getPathEndVariableNames
- Specified by:
getPathEndVariableNamesin interfacePathQueryResult
-
getEdgeVariableNames
- Specified by:
getEdgeVariableNamesin interfacePathQueryResult
-