Class SparqlJsonParser
Parser for SPARQL Results JSON Format.
Implements
Inherited Members
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public class SparqlJsonParser : BaseSparqlResultsReader, ISparqlResultsReader
Methods
| Edit this page View SourceLoad(ISparqlResultsHandler, StreamReader, IUriFactory)
Loads a Result Set from an Input Stream using a Results Handler.
Declaration
public override void Load(ISparqlResultsHandler handler, StreamReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
StreamReader | input | Input Stream to read from. |
IUriFactory | uriFactory | URI Factory to use. |
Overrides
| Edit this page View SourceLoad(ISparqlResultsHandler, TextReader, IUriFactory)
Loads a Result Set from an Input using a Results Handler.
Declaration
public override void Load(ISparqlResultsHandler handler, TextReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
TextReader | input | Input to read from. |
IUriFactory | uriFactory | URI Factory to use. |
Overrides
| Edit this page View SourceLoad(ISparqlResultsHandler, string, IUriFactory)
Loads a Result Set from a file using a Results Handler.
Declaration
public override void Load(ISparqlResultsHandler handler, string filename, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
string | filename | File to read from. |
IUriFactory | uriFactory | URI Factory to use. |
Overrides
| Edit this page View SourceLoad(SparqlResultSet, StreamReader, IUriFactory)
Loads a Result Set from an Input Stream.
Declaration
public override void Load(SparqlResultSet results, StreamReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
StreamReader | input | Input Stream to read from. |
IUriFactory | uriFactory | URI Factory to use. |
Overrides
| Edit this page View SourceLoad(SparqlResultSet, TextReader, IUriFactory)
Loads a Result Set from an Input.
Declaration
public override 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. |
Overrides
| Edit this page View SourceLoad(SparqlResultSet, string, IUriFactory)
Loads a Result Set from a File.
Declaration
public override void Load(SparqlResultSet results, string filename, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
string | filename | File to load from. |
IUriFactory | uriFactory | URI Factory to use. |
Overrides
| Edit this page View SourceToString()
Gets the String representation of the Parser which is a description of the syntax it parses.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Events
| Edit this page View SourceWarning
Event raised when a non-fatal issue with the SPARQL Results being parsed is detected
Declaration
public override event SparqlWarning Warning
Event Type
Type | Description |
---|---|
SparqlWarning |