|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.resultio.text.tsv.SPARQLResultsTSVWriter
public class SPARQLResultsTSVWriter
TupleQueryResultWriter for the SPARQL TSV (Tab-Separated Values) format.
http://www.w3.org/TR/sparql11-results-csv-tsv/#tsv| Constructor Summary | |
|---|---|
SPARQLResultsTSVWriter(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> bindingNames)
Indicates the start of a sequence of Solutions. |
protected void |
writeBNode(BNode bNode)
|
protected void |
writeResource(Resource res)
|
protected void |
writeURI(URI uri)
|
protected void |
writeValue(Value val)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPARQLResultsTSVWriter(OutputStream out)
out - | Method Detail |
|---|
public void startQueryResult(List<String> bindingNames)
throws TupleQueryResultHandlerException
TupleQueryResultHandler
startQueryResult in interface TupleQueryResultHandlerbindingNames - 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 TupleQueryResultHandlerTupleQueryResultHandlerExceptionpublic TupleQueryResultFormat getTupleQueryResultFormat()
TupleQueryResultWriter
getTupleQueryResultFormat in interface TupleQueryResultWriter
protected void writeValue(Value val)
throws IOException
IOException
protected void writeResource(Resource res)
throws IOException
IOException
protected void writeURI(URI uri)
throws IOException
IOException
protected void writeBNode(BNode bNode)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||