|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.StdOutGraphQueryResultWriter
A default implementation of GraphQueryResultListener that simply writes all results to System.out. Useful for debugging purposes.
| Constructor Summary | |
StdOutGraphQueryResultWriter()
|
|
| Method Summary | |
void |
endGraphQueryResult()
Indicates the end of a graph-like query result. |
void |
namespace(String prefix,
String name)
Reports a namespace and its (preferred) prefix that might be used in the query result. |
void |
reportError(String msg)
Reports an error that has occurred during the query evaluation. |
void |
startGraphQueryResult()
Indicates the start of a graph-like query result. |
void |
triple(Resource subj,
URI pred,
Value obj)
Delivers the next triple in the query result. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StdOutGraphQueryResultWriter()
| Method Detail |
public void startGraphQueryResult()
throws IOException
GraphQueryResultListener
startGraphQueryResult in interface GraphQueryResultListenerIOException
public void endGraphQueryResult()
throws IOException
GraphQueryResultListener
endGraphQueryResult in interface GraphQueryResultListenerIOException
public void namespace(String prefix,
String name)
throws IOException
GraphQueryResultListener
namespace in interface GraphQueryResultListenerIOException
public void triple(Resource subj,
URI pred,
Value obj)
throws IOException
GraphQueryResultListener
triple in interface GraphQueryResultListenerIOException
public void reportError(String msg)
throws IOException
GraphQueryResultListener
reportError in interface GraphQueryResultListenerIOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||