public class SPARQLResultsTSVWriter extends Object implements TupleQueryResultWriter
http://www.w3.org/TR/sparql11-results-csv-tsv/#tsv| Constructor and Description |
|---|
SPARQLResultsTSVWriter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
endQueryResult() |
TupleQueryResultFormat |
getTupleQueryResultFormat() |
void |
handleSolution(BindingSet bindingSet) |
void |
startQueryResult(List<String> bindingNames) |
protected void |
writeBNode(BNode bNode) |
protected void |
writeResource(Resource res) |
protected void |
writeURI(URI uri) |
protected void |
writeValue(Value val) |
public SPARQLResultsTSVWriter(OutputStream out)
out - public void startQueryResult(List<String> bindingNames) throws TupleQueryResultHandlerException
startQueryResult in interface TupleQueryResultHandlerTupleQueryResultHandlerExceptionpublic void endQueryResult()
throws TupleQueryResultHandlerException
endQueryResult in interface TupleQueryResultHandlerTupleQueryResultHandlerExceptionpublic void handleSolution(BindingSet bindingSet) throws TupleQueryResultHandlerException
handleSolution in interface TupleQueryResultHandlerTupleQueryResultHandlerExceptionpublic TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat in interface TupleQueryResultWriterprotected void writeValue(Value val) throws IOException
IOExceptionprotected void writeResource(Resource res) throws IOException
IOExceptionprotected void writeURI(URI uri) throws IOException
IOExceptionprotected void writeBNode(BNode bNode) throws IOException
IOExceptionCopyright © 2001-2013 Aduna. All Rights Reserved.