Class ExplainQueryProcessor
A Query Processor which evaluates queries while printing explanations to any/all of Debug, Trace, Console Standard Output and Console Standard Error.
Implements
Inherited Members
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public class ExplainQueryProcessor : LeviathanQueryProcessor, ISparqlQueryProcessor, ISparqlQueryAlgebraProcessor<BaseMultiset, SparqlEvaluationContext>
Constructors
| Improve this Doc View SourceExplainQueryProcessor(IInMemoryQueryableStore, ExplanationLevel)
Creates a new Explain Query Processor with the desired Explanation Level.
Declaration
public ExplainQueryProcessor(IInMemoryQueryableStore store, ExplanationLevel level)
Parameters
Type | Name | Description |
---|---|---|
IInMemoryQueryableStore | store | Triple Store. |
ExplanationLevel | level | Explanation Level. |
ExplainQueryProcessor(IInMemoryQueryableStore)
Creates a new Explain Query Processor that will use the Default Explanation Level.
Declaration
public ExplainQueryProcessor(IInMemoryQueryableStore store)
Parameters
Type | Name | Description |
---|---|---|
IInMemoryQueryableStore | store | Triple Store. |
ExplainQueryProcessor(ISparqlDataset, ExplanationLevel)
Creates a new Explain Query Processor with the desired Explanation Level.
Declaration
public ExplainQueryProcessor(ISparqlDataset dataset, ExplanationLevel level)
Parameters
Type | Name | Description |
---|---|---|
ISparqlDataset | dataset | Dataset. |
ExplanationLevel | level | Explanation Level. |
ExplainQueryProcessor(ISparqlDataset)
Creates a new Explain Query Processor that will use the Default Explanation Level.
Declaration
public ExplainQueryProcessor(ISparqlDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
ISparqlDataset | dataset | Dataset. |
Properties
| Improve this Doc View SourceExplanationLevel
Gets/Sets the Explanation Level.
Declaration
public ExplanationLevel ExplanationLevel { get; set; }
Property Value
Type | Description |
---|---|
ExplanationLevel |
Methods
| Improve this Doc View SourceProcessAsk(Ask, SparqlEvaluationContext)
Processes an Ask.
Declaration
public override BaseMultiset ProcessAsk(Ask ask, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Ask | ask | Ask. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessBgp(IBgp, SparqlEvaluationContext)
Processes a BGP.
Declaration
public override BaseMultiset ProcessBgp(IBgp bgp, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
IBgp | bgp | BGP. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessBindings(Bindings, SparqlEvaluationContext)
Processes a Bindings modifier.
Declaration
public override BaseMultiset ProcessBindings(Bindings b, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Bindings | b | Bindings. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessDistinct(Distinct, SparqlEvaluationContext)
Processes a Distinct modifier.
Declaration
public override BaseMultiset ProcessDistinct(Distinct distinct, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Distinct | distinct | Distinct modifier. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessExistsJoin(IExistsJoin, SparqlEvaluationContext)
Processes an Exists Join.
Declaration
public override BaseMultiset ProcessExistsJoin(IExistsJoin existsJoin, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
IExistsJoin | existsJoin | Exists Join. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessExtend(Extend, SparqlEvaluationContext)
Processes an Extend.
Declaration
public override BaseMultiset ProcessExtend(Extend extend, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Extend | extend | Extend. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessFilter(IFilter, SparqlEvaluationContext)
Processes a Filter.
Declaration
public override BaseMultiset ProcessFilter(IFilter filter, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
IFilter | filter | Filter. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessGraph(Graph, SparqlEvaluationContext)
Processes a Graph.
Declaration
public override BaseMultiset ProcessGraph(Graph graph, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Graph | graph | Graph. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessGroupBy(GroupBy, SparqlEvaluationContext)
Processes a Group By.
Declaration
public override BaseMultiset ProcessGroupBy(GroupBy groupBy, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
GroupBy | groupBy | Group By. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessHaving(Having, SparqlEvaluationContext)
Processes a Having.
Declaration
public override BaseMultiset ProcessHaving(Having having, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Having | having | Having. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessJoin(IJoin, SparqlEvaluationContext)
Processes a Join.
Declaration
public override BaseMultiset ProcessJoin(IJoin join, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
IJoin | join | Join. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessLeftJoin(ILeftJoin, SparqlEvaluationContext)
Processes a LeftJoin.
Declaration
public override BaseMultiset ProcessLeftJoin(ILeftJoin leftJoin, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
ILeftJoin | leftJoin | Left Join. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessMinus(IMinus, SparqlEvaluationContext)
Processes a Minus.
Declaration
public override BaseMultiset ProcessMinus(IMinus minus, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
IMinus | minus | Minus. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessNegatedPropertySet(NegatedPropertySet, SparqlEvaluationContext)
Processes a Negated Property Set.
Declaration
public override BaseMultiset ProcessNegatedPropertySet(NegatedPropertySet negPropSet, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
NegatedPropertySet | negPropSet | Negated Property Set. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessNullOperator(NullOperator, SparqlEvaluationContext)
Processes a Null Operator.
Declaration
public override BaseMultiset ProcessNullOperator(NullOperator nullOp, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
NullOperator | nullOp | Null Operator. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessOneOrMorePath(OneOrMorePath, SparqlEvaluationContext)
Processes a One or More Path.
Declaration
public override BaseMultiset ProcessOneOrMorePath(OneOrMorePath path, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
OneOrMorePath | path | Path. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessOrderBy(OrderBy, SparqlEvaluationContext)
Processes an Order By.
Declaration
public override BaseMultiset ProcessOrderBy(OrderBy orderBy, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
OrderBy | orderBy | |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessPropertyPath(PropertyPath, SparqlEvaluationContext)
Processes a Property Path.
Declaration
public override BaseMultiset ProcessPropertyPath(PropertyPath path, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyPath | path | Path. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessReduced(Reduced, SparqlEvaluationContext)
Processes a Reduced modifier.
Declaration
public override BaseMultiset ProcessReduced(Reduced reduced, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Reduced | reduced | Reduced modifier. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessSelect(Select, SparqlEvaluationContext)
Processes a Select.
Declaration
public override BaseMultiset ProcessSelect(Select select, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Select | select | Select. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessSelectDistinctGraphs(SelectDistinctGraphs, SparqlEvaluationContext)
Processes a Select Distinct Graphs.
Declaration
public override BaseMultiset ProcessSelectDistinctGraphs(SelectDistinctGraphs selDistGraphs, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SelectDistinctGraphs | selDistGraphs | Select Distinct Graphs. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessService(Service, SparqlEvaluationContext)
Processes a Service.
Declaration
public override BaseMultiset ProcessService(Service service, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Service | service | Service. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessSlice(Slice, SparqlEvaluationContext)
Processes a Slice modifier.
Declaration
public override BaseMultiset ProcessSlice(Slice slice, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
Slice | slice | Slice modifier. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessSubQuery(SubQuery, SparqlEvaluationContext)
Processes a Subquery.
Declaration
public override BaseMultiset ProcessSubQuery(SubQuery subquery, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SubQuery | subquery | Subquery. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessUnion(IUnion, SparqlEvaluationContext)
Processes a Union.
Declaration
public override BaseMultiset ProcessUnion(IUnion union, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
IUnion | union | Union. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessUnknownOperator(ISparqlAlgebra, SparqlEvaluationContext)
Processes a Unknown Operator.
Declaration
public override BaseMultiset ProcessUnknownOperator(ISparqlAlgebra algebra, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | algebra | Unknown Operator. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessZeroLengthPath(ZeroLengthPath, SparqlEvaluationContext)
Processes a Zero Length Path.
Declaration
public override BaseMultiset ProcessZeroLengthPath(ZeroLengthPath path, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
ZeroLengthPath | path | Path. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceProcessZeroOrMorePath(ZeroOrMorePath, SparqlEvaluationContext)
Processes a Zero or More Path.
Declaration
public override BaseMultiset ProcessZeroOrMorePath(ZeroOrMorePath zeroOrMorePath, SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
ZeroOrMorePath | zeroOrMorePath | Path. |
SparqlEvaluationContext | context | SPARQL Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |