Show / Hide Table of Contents

Class CsvStoreWriter

Class for generating CSV output from RDF Datasets.

Inheritance
object
BaseStoreWriter
CsvStoreWriter
Implements
IStoreWriter
IFormatterBasedWriter
Inherited Members
BaseStoreWriter.Save(ITripleStore, string)
BaseStoreWriter.Save(ITripleStore, string, Encoding)
BaseStoreWriter.Save(ITripleStore, TextWriter)
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 CsvStoreWriter : BaseStoreWriter, IStoreWriter, IFormatterBasedWriter

Properties

| Edit this page View Source

TripleFormatterType

Gets the type of the Triple Formatter used by the writer.

Declaration
public Type TripleFormatterType { get; }
Property Value
Type Description
Type

Methods

| Edit this page View Source

RaiseWarning(string)

Raise a warning event.

Declaration
protected virtual void RaiseWarning(string message)
Parameters
Type Name Description
string message

The message assocaited with the warning event.

| Edit this page View Source

Save(ITripleStore, TextWriter, bool)

Saves a Triple Store to CSV Format.

Declaration
public override void Save(ITripleStore store, TextWriter writer, bool leaveOpen)
Parameters
Type Name Description
ITripleStore store

Triple Store to save.

TextWriter writer

Writer to save to.

bool leaveOpen

Boolean flag indicating if writer should be left open after the writer completes.

Overrides
BaseStoreWriter.Save(ITripleStore, TextWriter, bool)
| Edit this page 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

| Edit this page View Source

Warning

Event which is raised when a non-fatal error occurs while outputting CSV

Declaration
public override event StoreWriterWarning Warning
Event Type
Type Description
StoreWriterWarning
Overrides
BaseStoreWriter.Warning

Implements

IStoreWriter
IFormatterBasedWriter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • TripleFormatterType
  • Methods
    • RaiseWarning(string)
    • Save(ITripleStore, TextWriter, bool)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX