Interface ISparqlResultsReader
Interface for Reader Classes which parser Sparql Result Set syntaxes into Result Set objects.
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlResultsReader
Methods
| Improve this Doc View SourceLoad(ISparqlResultsHandler, StreamReader, IUriFactory)
Loads a Result Set using a Results Handler from the given Stream.
Declaration
void Load(ISparqlResultsHandler handler, StreamReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
System.IO.StreamReader | input | Stream to read from. |
IUriFactory | uriFactory | URI factory to use. |
Load(ISparqlResultsHandler, StreamReader)
Loads a Result Set using a Results Handler from the given Stream.
Declaration
void Load(ISparqlResultsHandler handler, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
System.IO.StreamReader | input | Stream to read from. |
Load(ISparqlResultsHandler, TextReader, IUriFactory)
Loads a Result Set using a Results Handler from the given Input.
Declaration
void Load(ISparqlResultsHandler handler, TextReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
System.IO.TextReader | input | Input to read from. |
IUriFactory | uriFactory | URI factory to use. |
Load(ISparqlResultsHandler, TextReader)
Loads a Result Set using a Results Handler from the given Input.
Declaration
void Load(ISparqlResultsHandler handler, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
System.IO.TextReader | input | Input to read from. |
Load(ISparqlResultsHandler, string, IUriFactory)
Loads a Result Set using a Results Handler from the given file.
Declaration
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. |
Load(ISparqlResultsHandler, string)
Loads a Result Set using a Results Handler from the given file.
Declaration
void Load(ISparqlResultsHandler handler, string filename)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler. |
string | filename | File to read results from. |
Load(SparqlResultSet, StreamReader, IUriFactory)
Loads a Result Set from the given Stream.
Declaration
void Load(SparqlResultSet results, StreamReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.StreamReader | input | Stream to read from. |
IUriFactory | uriFactory | URI factory to use. |
Remarks
Should throw an error if the Result Set is not empty.
Load(SparqlResultSet, StreamReader)
Loads a Result Set from the given Stream.
Declaration
void Load(SparqlResultSet results, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.StreamReader | input | Stream to read from. |
Remarks
Should throw an error if the Result Set is not empty.
Load(SparqlResultSet, TextReader, IUriFactory)
Loads a Result Set from the given Input.
Declaration
void Load(SparqlResultSet results, TextReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.TextReader | input | Input to read from. |
IUriFactory | uriFactory | URI factory to use. |
Remarks
Should throw an error if the Result Set is not empty.
Load(SparqlResultSet, TextReader)
Loads a Result Set from the given Input.
Declaration
void Load(SparqlResultSet results, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.TextReader | input | Input to read from. |
Remarks
Should throw an error if the Result Set is not empty.
Load(SparqlResultSet, string, IUriFactory)
Loads a Result Set from the given File.
Declaration
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.
Load(SparqlResultSet, string)
Loads a Result Set from the given File.
Declaration
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.
Events
| Improve this Doc View SourceWarning
Event raised when a non-fatal issue with the SPARQL Results being parsed is detected
Declaration
event SparqlWarning Warning
Event Type
Type | Description |
---|---|
SparqlWarning |