Class SparqlTsvWriter
Class for saving SPARQL Result Sets to TSV format (not a standardised format).
Implements
Inherited Members
Namespace: VDS.RDF.Writing
Assembly: dotNetRdf.dll
Syntax
public class SparqlTsvWriter : ISparqlResultsWriter
Methods
| Edit this page View SourceSave(SparqlResultSet, TextWriter)
Saves a SPARQL Result Set to TSV format.
Declaration
public void Save(SparqlResultSet results, TextWriter output)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
TextWriter | output | Writer to save to. |
Save(SparqlResultSet, string)
Saves a SPARQL Result Set to TSV format.
Declaration
public void Save(SparqlResultSet results, string filename)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
string | filename | File to save to. |
Remarks
The output file is encoded in UTF-8 with no byte-order mark.
Save(SparqlResultSet, string, Encoding)
Saves a SPARQL Result Set to TSV format.
Declaration
public void Save(SparqlResultSet results, string filename, Encoding fileEncoding)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set. |
string | filename | File to save to. |
Encoding | fileEncoding | The text encoding to use for the file. |
ToString()
Gets the String representation of the writer which is a description of the syntax it produces.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Events
| Edit this page View SourceWarning
Event raised when a non-fatal issue with the SPARQL Results being written is detected
Declaration
public event SparqlWarning Warning
Event Type
Type | Description |
---|---|
SparqlWarning |