Package com.franz.agraph.jena
Class AGNodeIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<Node>,org.apache.jena.atlas.iterator.IteratorCloseable<Node>,org.apache.jena.atlas.lib.Closeable,ClosableIterator<Node>,ExtendedIterator<Node>
A utility class for iterating over Jena Nodes.
-
Constructor Summary
ConstructorsConstructorDescriptionAGNodeIterator(org.eclipse.rdf4j.query.TupleQueryResult result) Constructs an AGNodeIterator from a TupleQueryResult. -
Method Summary
Methods inherited from class org.apache.jena.util.iterator.NiceIterator
andThen, andThen, asList, asSet, close, emptyIterator, filterDrop, filterKeep, mapWith, remove, removeNext, toList, toSetMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
forEach, nextOptionalMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
AGNodeIterator
public AGNodeIterator(org.eclipse.rdf4j.query.TupleQueryResult result) Constructs an AGNodeIterator from a TupleQueryResult.- Parameters:
result- a TupleQueryResult with binding var "st".
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceClosableIterator<Node>- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.jena.atlas.lib.Closeable- Overrides:
closein classNiceIterator<Node>
-
hasNext
public boolean hasNext() -
next
-