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
ConstructorDescriptionAGNodeIterator
(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, toSet
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
forEach, nextOptional
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
AGNodeIterator
Constructs an AGNodeIterator from a TupleQueryResult.- Parameters:
result
- a TupleQueryResult with binding var "st".
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceClosableIterator<Node>
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
- Overrides:
close
in classNiceIterator<Node>
-
hasNext
public boolean hasNext() -
next
-