Class BaseQueryHandlerConfiguration
Abstract Base class for SPARQL Query Handlers
Inheritance
System.Object
BaseQueryHandlerConfiguration
Inherited Members
Namespace: VDS.RDF.Web.Configuration.Query
Assembly: dotNetRDF.Web.dll
Syntax
public class BaseQueryHandlerConfiguration : BaseHandlerConfiguration
Constructors
| Improve this Doc View SourceBaseQueryHandlerConfiguration(IGraph, INode)
Creates a new Query Handler Configuration
Declaration
public BaseQueryHandlerConfiguration(IGraph g, INode objNode)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Configuration Graph |
INode | objNode | Object Node |
BaseQueryHandlerConfiguration(IHttpContext, IGraph, INode)
Creates a new Query Handler Configuration
Declaration
public BaseQueryHandlerConfiguration(IHttpContext context, IGraph g, INode objNode)
Parameters
Type | Name | Description |
---|---|---|
IHttpContext | context | HTTP Context |
IGraph | g | Configuration Graph |
INode | objNode | Object Node |
Fields
| Improve this Doc View Source_algebraOptimisers
Algebra Optimisers to use (empty list means only standard optimisers apply)
Declaration
protected List<IAlgebraOptimiser> _algebraOptimisers
Field Value
Type | Description |
---|---|
List<IAlgebraOptimiser> |
_defaultGraph
Default Graph Uri for queries
Declaration
protected String _defaultGraph
Field Value
Type | Description |
---|---|
String |
_defaultPartialResults
Default Partial Results on Timeout behaviour
Declaration
protected bool _defaultPartialResults
Field Value
Type | Description |
---|---|
System.Boolean |
_defaultQuery
Default Sparql Query
Declaration
protected String _defaultQuery
Field Value
Type | Description |
---|---|
String |
_defaultTimeout
Default Timeout for Queries
Declaration
protected long _defaultTimeout
Field Value
Type | Description |
---|---|
System.Int64 |
_describer
SPARQL Describe Algorithm to use (null indicates default is used)
Declaration
protected ISparqlDescribe _describer
Field Value
Type | Description |
---|---|
ISparqlDescribe |
_partialResultsField
Querystring Field name for the Partial Results setting
Declaration
protected String _partialResultsField
Field Value
Type | Description |
---|---|
String |
_processor
Query Processor to be used
Declaration
protected ISparqlQueryProcessor _processor
Field Value
Type | Description |
---|---|
ISparqlQueryProcessor |
_queryOptimiser
Query Optimiser to use (null indicates default is used)
Declaration
protected IQueryOptimiser _queryOptimiser
Field Value
Type | Description |
---|---|
IQueryOptimiser |
_serviceDescription
Service Description Graph
Declaration
protected IGraph _serviceDescription
Field Value
Type | Description |
---|---|
IGraph |
_showQueryForm
Whether a Query Form should be shown to the User
Declaration
protected bool _showQueryForm
Field Value
Type | Description |
---|---|
System.Boolean |
_supportsPartialResults
Whether the Handler supports Partial Results on Timeout
Declaration
protected bool _supportsPartialResults
Field Value
Type | Description |
---|---|
System.Boolean |
_supportsTimeout
Whether the Handler supports Timeouts
Declaration
protected bool _supportsTimeout
Field Value
Type | Description |
---|---|
System.Boolean |
_syntax
SPARQL Syntax to use (defaults to library default which is SPARQL 1.1 unless changed)
Declaration
protected SparqlQuerySyntax _syntax
Field Value
Type | Description |
---|---|
SparqlQuerySyntax |
_timeoutField
Querystring Field name for the Timeout setting
Declaration
protected String _timeoutField
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceAlgebraOptimisers
Gets the Algebra Optimisers associated with the Configuration
Declaration
public IEnumerable<IAlgebraOptimiser> AlgebraOptimisers { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IAlgebraOptimiser> |
DefaultGraphURI
Gets the Default Graph Uri
Declaration
public String DefaultGraphURI { get; }
Property Value
Type | Description |
---|---|
String |
DefaultPartialResults
Gets the Default Partial Results on Timeout behaviour
Declaration
public bool DefaultPartialResults { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultQuery
Gets the Default Query for the Query Form
Declaration
public String DefaultQuery { get; }
Property Value
Type | Description |
---|---|
String |
DefaultTimeout
Gets the Default Query Execution Timeout
Declaration
public long DefaultTimeout { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
DescribeAlgorithm
Gets the SPARQL Describe Algorithm to be used
Declaration
public ISparqlDescribe DescribeAlgorithm { get; }
Property Value
Type | Description |
---|---|
ISparqlDescribe |
PartialResultsField
Querystring field name for the Partial Results on Timeout setting for Remote Endpoints which support it
Declaration
public String PartialResultsField { get; }
Property Value
Type | Description |
---|---|
String |
Processor
Gets the Processor used to evaluate queries
Declaration
public ISparqlQueryProcessor Processor { get; }
Property Value
Type | Description |
---|---|
ISparqlQueryProcessor |
QueryOptimiser
Gets the Query Optimiser associated with the Configuration
Declaration
public IQueryOptimiser QueryOptimiser { get; }
Property Value
Type | Description |
---|---|
IQueryOptimiser |
ServiceDescription
Gets the Service Description Graph
Declaration
public IGraph ServiceDescription { get; }
Property Value
Type | Description |
---|---|
IGraph |
ShowQueryForm
Gets whether the Query Form should be shown to users
Declaration
public bool ShowQueryForm { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SupportsPartialResults
Whether the Remote Endpoint supports specifying Partial Results on Timeout behaviour as a querystring parameter
Declaration
public bool SupportsPartialResults { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SupportsTimeout
Whether the Remote Endpoint supports specifying Query Timeout as a querystring parameter
Declaration
public bool SupportsTimeout { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Syntax
Gets the SPARQL Query Syntax to use
Declaration
public SparqlQuerySyntax Syntax { get; }
Property Value
Type | Description |
---|---|
SparqlQuerySyntax |
TimeoutField
Querystring field name for the Query Timeout for Remote Endpoints which support it
Declaration
public String TimeoutField { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceAddFeatureDescription(IGraph, INode)
Adds Description of Features for the given Handler Configuration
Declaration
public virtual void AddFeatureDescription(IGraph g, INode descripNode)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Service Description Graph |
INode | descripNode | Description Node for the Service |