Show / Hide Table of Contents

Class SparqlTsvWriter

Class for saving SPARQL Result Sets to TSV format (not a standardised format).

Inheritance
System.Object
SparqlTsvWriter
Implements
ISparqlResultsWriter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRdf.dll
Syntax
public class SparqlTsvWriter : ISparqlResultsWriter

Methods

| Improve this Doc View Source

Save(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.

System.IO.TextWriter output

Writer to save to.

| Improve this Doc View Source

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.

System.Text.Encoding fileEncoding

The text encoding to use for the file.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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
object.ToString()

Events

| Improve this Doc View Source

Warning

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

Implements

ISparqlResultsWriter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Save(SparqlResultSet, TextWriter)
    • Save(SparqlResultSet, string, Encoding)
    • Save(SparqlResultSet, string)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX