Show / Hide Table of Contents

Class BaseSparqlResultsReader

Abstract base class for SPARQL result readers.

Inheritance
object
BaseSparqlResultsReader
BaseGZipResultsParser
SparqlBooleanParser
SparqlCsvParser
SparqlJsonParser
SparqlRdfParser
SparqlTsvParser
SparqlXmlParser
Implements
ISparqlResultsReader
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseSparqlResultsReader : ISparqlResultsReader
Remarks

This implementation just implements the defaulting of the old interface methods to the new extended methods that take an IUriFactory parameter.

Methods

| Edit this page View Source

Load(ISparqlResultsHandler, StreamReader)

Loads a Result Set using a Results Handler from the given Stream.

Declaration
public void Load(ISparqlResultsHandler handler, StreamReader input)
Parameters
Type Name Description
ISparqlResultsHandler handler

Results Handler.

StreamReader input

Stream to read from.

| Edit this page View Source

Load(ISparqlResultsHandler, StreamReader, IUriFactory)

Loads a Result Set using a Results Handler from the given Stream.

Declaration
public abstract void Load(ISparqlResultsHandler handler, StreamReader input, IUriFactory uriFactory)
Parameters
Type Name Description
ISparqlResultsHandler handler

Results Handler.

StreamReader input

Stream to read from.

IUriFactory uriFactory

URI factory to use.

| Edit this page View Source

Load(ISparqlResultsHandler, TextReader)

Loads a Result Set using a Results Handler from the given Input.

Declaration
public void Load(ISparqlResultsHandler handler, TextReader input)
Parameters
Type Name Description
ISparqlResultsHandler handler

Results Handler.

TextReader input

Input to read from.

| Edit this page View Source

Load(ISparqlResultsHandler, TextReader, IUriFactory)

Loads a Result Set using a Results Handler from the given Input.

Declaration
public abstract void Load(ISparqlResultsHandler handler, TextReader input, IUriFactory uriFactory)
Parameters
Type Name Description
ISparqlResultsHandler handler

Results Handler.

TextReader input

Input to read from.

IUriFactory uriFactory

URI factory to use.

| Edit this page View Source

Load(ISparqlResultsHandler, string)

Loads a Result Set using a Results Handler from the given file.

Declaration
public void Load(ISparqlResultsHandler handler, string filename)
Parameters
Type Name Description
ISparqlResultsHandler handler

Results Handler.

string filename

File to read results from.

| Edit this page View Source

Load(ISparqlResultsHandler, string, IUriFactory)

Loads a Result Set using a Results Handler from the given file.

Declaration
public abstract void Load(ISparqlResultsHandler handler, string filename, IUriFactory uriFactory)
Parameters
Type Name Description
ISparqlResultsHandler handler

Results Handler.

string filename

File to read results from.

IUriFactory uriFactory

URI factory to use.

| Edit this page View Source

Load(SparqlResultSet, StreamReader)

Loads a Result Set from the given Stream.

Declaration
public void Load(SparqlResultSet results, StreamReader input)
Parameters
Type Name Description
SparqlResultSet results

Result Set to load into.

StreamReader input

Stream to read from.

Remarks

Should throw an error if the Result Set is not empty.

| Edit this page View Source

Load(SparqlResultSet, StreamReader, IUriFactory)

Loads a Result Set from the given Stream.

Declaration
public abstract void Load(SparqlResultSet results, StreamReader input, IUriFactory uriFactory)
Parameters
Type Name Description
SparqlResultSet results

Result Set to load into.

StreamReader input

Stream to read from.

IUriFactory uriFactory

URI factory to use.

Remarks

Should throw an error if the Result Set is not empty.

| Edit this page View Source

Load(SparqlResultSet, TextReader)

Loads a Result Set from the given Input.

Declaration
public void Load(SparqlResultSet results, TextReader input)
Parameters
Type Name Description
SparqlResultSet results

Result Set to load into.

TextReader input

Input to read from.

Remarks

Should throw an error if the Result Set is not empty.

| Edit this page View Source

Load(SparqlResultSet, TextReader, IUriFactory)

Loads a Result Set from the given Input.

Declaration
public abstract void Load(SparqlResultSet results, TextReader input, IUriFactory uriFactory)
Parameters
Type Name Description
SparqlResultSet results

Result Set to load into.

TextReader input

Input to read from.

IUriFactory uriFactory

URI factory to use.

Remarks

Should throw an error if the Result Set is not empty.

| Edit this page View Source

Load(SparqlResultSet, string)

Loads a Result Set from the given File.

Declaration
public void Load(SparqlResultSet results, string filename)
Parameters
Type Name Description
SparqlResultSet results

Result Set to load into.

string filename

File containing a Result Set.

Remarks

Should throw an error if the Result Set is not empty.

| Edit this page View Source

Load(SparqlResultSet, string, IUriFactory)

Loads a Result Set from the given File.

Declaration
public abstract void Load(SparqlResultSet results, string filename, IUriFactory uriFactory)
Parameters
Type Name Description
SparqlResultSet results

Result Set to load into.

string filename

File containing a Result Set.

IUriFactory uriFactory

URI factory to use.

Remarks

Should throw an error if the Result Set is not empty.

Events

| Edit this page View Source

Warning

Event raised when a non-fatal issue with the SPARQL Results being parsed is detected

Declaration
public abstract event SparqlWarning Warning
Event Type
Type Description
SparqlWarning

Implements

ISparqlResultsReader

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • Load(ISparqlResultsHandler, StreamReader)
    • Load(ISparqlResultsHandler, StreamReader, IUriFactory)
    • Load(ISparqlResultsHandler, TextReader)
    • Load(ISparqlResultsHandler, TextReader, IUriFactory)
    • Load(ISparqlResultsHandler, string)
    • Load(ISparqlResultsHandler, string, IUriFactory)
    • Load(SparqlResultSet, StreamReader)
    • Load(SparqlResultSet, StreamReader, IUriFactory)
    • Load(SparqlResultSet, TextReader)
    • Load(SparqlResultSet, TextReader, IUriFactory)
    • Load(SparqlResultSet, string)
    • Load(SparqlResultSet, string, IUriFactory)
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX