Show / Hide Table of Contents

Class BaseQueryHandlerConfiguration

Abstract Base class for SPARQL Query Handlers
Inheritance
System.Object
BaseHandlerConfiguration
BaseQueryHandlerConfiguration
QueryHandlerConfiguration
Inherited Members
BaseHandlerConfiguration.MinimumCacheDuration
BaseHandlerConfiguration.MaximumCacheDuration
BaseHandlerConfiguration._showErrors
BaseHandlerConfiguration._stylesheet
BaseHandlerConfiguration._introText
BaseHandlerConfiguration._expressionFactories
BaseHandlerConfiguration._propertyFunctionFactories
BaseHandlerConfiguration._corsEnabled
BaseHandlerConfiguration._writerCompressionLevel
BaseHandlerConfiguration._writerPrettyPrinting
BaseHandlerConfiguration._writerHighSpeed
BaseHandlerConfiguration._writerDtds
BaseHandlerConfiguration._writerMultiThreading
BaseHandlerConfiguration._writerAttributes
BaseHandlerConfiguration._defaultNamespaces
BaseHandlerConfiguration.UserGroups
BaseHandlerConfiguration.ShowErrors
BaseHandlerConfiguration.IsCorsEnabled
BaseHandlerConfiguration.Stylesheet
BaseHandlerConfiguration.IntroductionText
BaseHandlerConfiguration.CacheDuration
BaseHandlerConfiguration.CacheSliding
BaseHandlerConfiguration.HasExpressionFactories
BaseHandlerConfiguration.ExpressionFactories
BaseHandlerConfiguration.HasPropertyFunctionFactories
BaseHandlerConfiguration.PropertyFunctionFactories
BaseHandlerConfiguration.WriterCompressionLevel
BaseHandlerConfiguration.WriterUseDtds
BaseHandlerConfiguration.WriterUseAttributes
BaseHandlerConfiguration.WriterHighSpeedMode
BaseHandlerConfiguration.WriterMultiThreading
BaseHandlerConfiguration.WriterPrettyPrinting
BaseHandlerConfiguration.DefaultNamespaces
Namespace: VDS.RDF.Web.Configuration.Query
Assembly: dotNetRDF.Web.dll
Syntax
public class BaseQueryHandlerConfiguration : BaseHandlerConfiguration

Constructors

| Improve this Doc View Source

BaseQueryHandlerConfiguration(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
| Improve this Doc View Source

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>
| Improve this Doc View Source

_defaultGraph

Default Graph Uri for queries
Declaration
protected String _defaultGraph
Field Value
Type Description
String
| Improve this Doc View Source

_defaultPartialResults

Default Partial Results on Timeout behaviour
Declaration
protected bool _defaultPartialResults
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_defaultQuery

Default Sparql Query
Declaration
protected String _defaultQuery
Field Value
Type Description
String
| Improve this Doc View Source

_defaultTimeout

Default Timeout for Queries
Declaration
protected long _defaultTimeout
Field Value
Type Description
System.Int64
| Improve this Doc View Source

_describer

SPARQL Describe Algorithm to use (null indicates default is used)
Declaration
protected ISparqlDescribe _describer
Field Value
Type Description
ISparqlDescribe
| Improve this Doc View Source

_partialResultsField

Querystring Field name for the Partial Results setting
Declaration
protected String _partialResultsField
Field Value
Type Description
String
| Improve this Doc View Source

_processor

Query Processor to be used
Declaration
protected ISparqlQueryProcessor _processor
Field Value
Type Description
ISparqlQueryProcessor
| Improve this Doc View Source

_queryOptimiser

Query Optimiser to use (null indicates default is used)
Declaration
protected IQueryOptimiser _queryOptimiser
Field Value
Type Description
IQueryOptimiser
| Improve this Doc View Source

_serviceDescription

Service Description Graph
Declaration
protected IGraph _serviceDescription
Field Value
Type Description
IGraph
| Improve this Doc View Source

_showQueryForm

Whether a Query Form should be shown to the User
Declaration
protected bool _showQueryForm
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_supportsPartialResults

Whether the Handler supports Partial Results on Timeout
Declaration
protected bool _supportsPartialResults
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_supportsTimeout

Whether the Handler supports Timeouts
Declaration
protected bool _supportsTimeout
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_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
| Improve this Doc View Source

_timeoutField

Querystring Field name for the Timeout setting
Declaration
protected String _timeoutField
Field Value
Type Description
String

Properties

| Improve this Doc View Source

AlgebraOptimisers

Gets the Algebra Optimisers associated with the Configuration
Declaration
public IEnumerable<IAlgebraOptimiser> AlgebraOptimisers { get; }
Property Value
Type Description
IEnumerable<IAlgebraOptimiser>
| Improve this Doc View Source

DefaultGraphURI

Gets the Default Graph Uri
Declaration
public String DefaultGraphURI { get; }
Property Value
Type Description
String
| Improve this Doc View Source

DefaultPartialResults

Gets the Default Partial Results on Timeout behaviour
Declaration
public bool DefaultPartialResults { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultQuery

Gets the Default Query for the Query Form
Declaration
public String DefaultQuery { get; }
Property Value
Type Description
String
| Improve this Doc View Source

DefaultTimeout

Gets the Default Query Execution Timeout
Declaration
public long DefaultTimeout { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

DescribeAlgorithm

Gets the SPARQL Describe Algorithm to be used
Declaration
public ISparqlDescribe DescribeAlgorithm { get; }
Property Value
Type Description
ISparqlDescribe
| Improve this Doc View Source

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
| Improve this Doc View Source

Processor

Gets the Processor used to evaluate queries
Declaration
public ISparqlQueryProcessor Processor { get; }
Property Value
Type Description
ISparqlQueryProcessor
| Improve this Doc View Source

QueryOptimiser

Gets the Query Optimiser associated with the Configuration
Declaration
public IQueryOptimiser QueryOptimiser { get; }
Property Value
Type Description
IQueryOptimiser
| Improve this Doc View Source

ServiceDescription

Gets the Service Description Graph
Declaration
public IGraph ServiceDescription { get; }
Property Value
Type Description
IGraph
| Improve this Doc View Source

ShowQueryForm

Gets whether the Query Form should be shown to users
Declaration
public bool ShowQueryForm { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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
| Improve this Doc View Source

SupportsTimeout

Whether the Remote Endpoint supports specifying Query Timeout as a querystring parameter
Declaration
public bool SupportsTimeout { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Syntax

Gets the SPARQL Query Syntax to use
Declaration
public SparqlQuerySyntax Syntax { get; }
Property Value
Type Description
SparqlQuerySyntax
| Improve this Doc View Source

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 Source

AddFeatureDescription(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

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseQueryHandlerConfiguration(IGraph, INode)
    • BaseQueryHandlerConfiguration(IHttpContext, IGraph, INode)
  • Fields
    • _algebraOptimisers
    • _defaultGraph
    • _defaultPartialResults
    • _defaultQuery
    • _defaultTimeout
    • _describer
    • _partialResultsField
    • _processor
    • _queryOptimiser
    • _serviceDescription
    • _showQueryForm
    • _supportsPartialResults
    • _supportsTimeout
    • _syntax
    • _timeoutField
  • Properties
    • AlgebraOptimisers
    • DefaultGraphURI
    • DefaultPartialResults
    • DefaultQuery
    • DefaultTimeout
    • DescribeAlgorithm
    • PartialResultsField
    • Processor
    • QueryOptimiser
    • ServiceDescription
    • ShowQueryForm
    • SupportsPartialResults
    • SupportsTimeout
    • Syntax
    • TimeoutField
  • Methods
    • AddFeatureDescription(IGraph, INode)
  • Extension Methods
Back to top Generated by DocFX