public class TuplesAsPathQueryResult extends Object implements PathQueryResult
tuples
with delimiters to restore paths.CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>
PATH_VAR
Constructor and Description |
---|
TuplesAsPathQueryResult(SelectQueryResult theTuples) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the query results and return any resources in use back to the system.
|
List<String> |
getEdgeVariableNames() |
List<String> |
getPathEndVariableNames() |
List<String> |
getPathStartVariableNames() |
boolean |
hasNext() |
Path |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
metadata, stream
closeQuietly, collect, concat, concat, concat, empty, filter, first, isEmpty, limit, map, offset, onClose, singleton, size, toCloseable, toCloseable, toCloseable, toList, toSet, transform
forEachRemaining
public TuplesAsPathQueryResult(SelectQueryResult theTuples)
public List<String> getPathStartVariableNames()
getPathStartVariableNames
in interface PathQueryResult
public List<String> getPathEndVariableNames()
getPathEndVariableNames
in interface PathQueryResult
public List<String> getEdgeVariableNames()
getEdgeVariableNames
in interface PathQueryResult
public void close() throws QueryExecutionFailure
close
in interface CloseableIterator<Path>
close
in interface QueryResult<Path>
close
in interface AutoCloseable
QueryExecutionFailure
public boolean hasNext() throws QueryExecutionFailure
hasNext
in interface QueryResult<Path>
hasNext
in interface Iterator<Path>
QueryExecutionFailure
public Path next() throws QueryExecutionFailure
next
in interface QueryResult<Path>
next
in interface Iterator<Path>
QueryExecutionFailure
public void remove() throws QueryExecutionFailure
remove
in interface Iterator<Path>
QueryExecutionFailure
Copyright © 2010-2016 Stardog Union. All Rights Reserved.