Show / Hide Table of Contents

Class BaseGZipResultsWriter

Abstract Base class for Results writers which generate GZipped output.
Inheritance
System.Object
BaseGZipResultsWriter
GZippedSparqlCsvWriter
GZippedSparqlJsonWriter
GZippedSparqlTsvWriter
GZippedSparqlXmlWriter
Implements
ISparqlResultsWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseGZipResultsWriter : ISparqlResultsWriter
Remarks

While the normal witers can be used with GZip streams directly this class just abstracts the wrapping of file/stream output into a GZip stream if it is not already passed as such.

Constructors

| Improve this Doc View Source

BaseGZipResultsWriter(ISparqlResultsWriter)

Creates a new GZipped Results writer.
Declaration
public BaseGZipResultsWriter(ISparqlResultsWriter writer)
Parameters
Type Name Description
ISparqlResultsWriter writer Underlying writer.

Methods

| Improve this Doc View Source

Save(SparqlResultSet, TextWriter)

Saves a Result Set as GZipped output.
Declaration
public void Save(SparqlResultSet results, TextWriter output)
Parameters
Type Name Description
SparqlResultSet results Result Set to save.
System.IO.TextWriter output Writer to save to.
| Improve this Doc View Source

Save(SparqlResultSet, String)

Saves a Result Set as GZipped output.
Declaration
public void Save(SparqlResultSet results, string filename)
Parameters
Type Name Description
SparqlResultSet results Result Set to save.
System.String filename File to save to.
| Improve this Doc View Source

ToString()

Gets the description of the writer.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Events

| Improve this Doc View Source

Warning

Event which is raised if non-fatal errors occur writing results
Declaration
public event SparqlWarning Warning
Event Type
Type Description
SparqlWarning

Implements

ISparqlResultsWriter

Extension Methods

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