|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.trippi.TupleIterator org.trippi.io.SparqlTupleIterator
public class SparqlTupleIterator
Deserializes sparql results while iterating. http://www.w3.org/2001/sw/DataAccess/rf1/result
Field Summary |
---|
Fields inherited from class org.trippi.TupleIterator |
---|
INPUT_FORMATS, OUTPUT_FORMATS |
Constructor Summary | |
---|---|
SparqlTupleIterator(java.io.InputStream in)
|
Method Summary | |
---|---|
void |
close()
Release resources held by this TupleIterator. |
boolean |
hasNext()
Return true if there are more results. |
java.lang.String[] |
names()
Get the names of the binding variables. |
java.util.Map |
next()
Return the next result. |
Methods inherited from class org.trippi.TupleIterator |
---|
count, finalize, fromStream, main, nextTriples, setAliasMap, toStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SparqlTupleIterator(java.io.InputStream in) throws TrippiException
TrippiException
Method Detail |
---|
public boolean hasNext()
TupleIterator
hasNext
in class TupleIterator
public java.util.Map next() throws TrippiException
TupleIterator
next
in class TupleIterator
TrippiException
public java.lang.String[] names()
TupleIterator
names
in class TupleIterator
public void close() throws TrippiException
TupleIterator
close
in class TupleIterator
TrippiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |