|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.resultio.sparqljson.SPARQLResultsJSONWriter
public class SPARQLResultsJSONWriter
A TupleQueryResultWriter that writes query results in the SPARQL Query Results JSON Format.
| Constructor Summary | |
|---|---|
SPARQLResultsJSONWriter(OutputStream out)
|
|
| Method Summary | |
|---|---|
void |
endQueryResult()
Indicates the end of a sequence of solutions. |
TupleQueryResultFormat |
getTupleQueryResultFormat()
Gets the query result format that this writer uses. |
void |
handleSolution(BindingSet bindingSet)
Handles a solution. |
void |
startQueryResult(List<String> columnHeaders)
Indicates the start of a sequence of Solutions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPARQLResultsJSONWriter(OutputStream out)
| Method Detail |
|---|
public final TupleQueryResultFormat getTupleQueryResultFormat()
TupleQueryResultWriter
getTupleQueryResultFormat in interface TupleQueryResultWriter
public void startQueryResult(List<String> columnHeaders)
throws TupleQueryResultHandlerException
TupleQueryResultHandler
startQueryResult in interface TupleQueryResultHandlercolumnHeaders - An ordered set of binding names.
TupleQueryResultHandlerException
public void endQueryResult()
throws TupleQueryResultHandlerException
TupleQueryResultHandler
endQueryResult in interface TupleQueryResultHandlerTupleQueryResultHandlerException
public void handleSolution(BindingSet bindingSet)
throws TupleQueryResultHandlerException
TupleQueryResultHandler
handleSolution in interface TupleQueryResultHandlerTupleQueryResultHandlerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||