Class BaseGZipResultsParser
Abstract Base class for Results parser that read GZipped input.
Inheritance
System.Object
BaseGZipResultsParser
Implements
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.Parsing
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseGZipResultsParser : ISparqlResultsReader
Remarks
While the normal parsers can be used with GZip streams directly this class just abstracts the wrapping of file/stream input into a GZip stream if it is not already passed as such.
Constructors
| Improve this Doc View SourceBaseGZipResultsParser(ISparqlResultsReader)
Creates a new GZipped results parser.
Declaration
public BaseGZipResultsParser(ISparqlResultsReader parser)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsReader | parser | Underlying parser. |
Methods
| Improve this Doc View SourceLoad(ISparqlResultsHandler, StreamReader)
Loads a Result Set from GZipped input.
Declaration
public void Load(ISparqlResultsHandler handler, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
System.IO.StreamReader | input | Input to load from. |
Load(ISparqlResultsHandler, TextReader)
Loads a Result Set from GZipped input.
Declaration
public void Load(ISparqlResultsHandler handler, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
System.IO.TextReader | input | Input to load from. |
Load(ISparqlResultsHandler, String)
Loads a Result Set from GZipped input.
Declaration
public void Load(ISparqlResultsHandler handler, string filename)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
System.String | filename | File to load from. |
Load(SparqlResultSet, StreamReader)
Loads a Result Set from GZipped input.
Declaration
public void Load(SparqlResultSet results, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.StreamReader | input | Input to load from. |
Load(SparqlResultSet, TextReader)
Loads a Result Set from GZipped input.
Declaration
public void Load(SparqlResultSet results, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.TextReader | input | Input to load from. |
Load(SparqlResultSet, String)
Loads a Result Set from GZipped input.
Declaration
public void Load(SparqlResultSet results, string filename)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.String | filename | File to load from. |
ToString()
Gets the description of the parser.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Events
| Improve this Doc View SourceWarning
Event which is raised if non-fatal errors are countered with parsing results
Declaration
public event SparqlWarning Warning
Event Type
Type | Description |
---|---|
SparqlWarning |