|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.format.SPARQLTextWriter
public class SPARQLTextWriter
Tuple query results writer for plain text format. Very simple and stupid "TSV" (tab-separated values) format, not even checking for embedded tabs in values. Perhaps it would be better to have a more human-readable text format (e.g. columns aligned by whitespace, maybe borders) but this was quick and expedient.
| Field Summary | |
|---|---|
static org.openrdf.query.resultio.TupleQueryResultFormat |
theFormat
Constant theFormat |
| Constructor Summary | |
|---|---|
SPARQLTextWriter(java.io.OutputStream out)
Constructor for SPARQLTextWriter. |
|
| Method Summary | |
|---|---|
void |
endQueryResult()
endQueryResult |
org.openrdf.query.resultio.TupleQueryResultFormat |
getTupleQueryResultFormat()
getTupleQueryResultFormat |
void |
handleSolution(org.openrdf.query.BindingSet bs)
|
void |
startQueryResult(java.util.List<java.lang.String> bindingNames)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.openrdf.query.resultio.TupleQueryResultFormat theFormat
theFormat
| Constructor Detail |
|---|
public SPARQLTextWriter(java.io.OutputStream out)
Constructor for SPARQLTextWriter.
out - a OutputStream object.| Method Detail |
|---|
public org.openrdf.query.resultio.TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat
getTupleQueryResultFormat in interface org.openrdf.query.resultio.TupleQueryResultWriterTupleQueryResultFormat object.
public void startQueryResult(java.util.List<java.lang.String> bindingNames)
throws org.openrdf.query.TupleQueryResultHandlerException
startQueryResult in interface org.openrdf.query.TupleQueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerException
public void endQueryResult()
throws org.openrdf.query.TupleQueryResultHandlerException
endQueryResult
endQueryResult in interface org.openrdf.query.TupleQueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerException - if any.
public void handleSolution(org.openrdf.query.BindingSet bs)
throws org.openrdf.query.TupleQueryResultHandlerException
handleSolution in interface org.openrdf.query.TupleQueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||