Interface ISparqlQueryAlgebraProcessor<TResult, TContext>
Interface for SPARQL Query Algebra Processors.
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlQueryAlgebraProcessor<out TResult, in TContext>
Type Parameters
Name | Description |
---|---|
TResult | Type of intermediate results produced by processing an Algebra operator. |
TContext | Type of context object providing evaluation context. |
Remarks
A SPARQL Query Algebra Processor is a class which knows how to evaluate the.
Methods
| Edit this page View SourceProcessAlgebra(ISparqlAlgebra, TContext)
Processes SPARQL Algebra.
Declaration
TResult ProcessAlgebra(ISparqlAlgebra algebra, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | algebra | Algebra. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessAsk(Ask, TContext)
Processes an Ask.
Declaration
TResult ProcessAsk(Ask ask, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Ask | ask | Ask. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessAskAnyTriples(AskAnyTriples, TContext)
Processes an optimised ASK of the form ASK WHERE { ?s ?p ?o }.
Declaration
TResult ProcessAskAnyTriples(AskAnyTriples askAny, TContext context)
Parameters
Type | Name | Description |
---|---|---|
AskAnyTriples | askAny | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessBgp(IBgp, TContext)
Processes a BGP.
Declaration
TResult ProcessBgp(IBgp bgp, TContext context)
Parameters
Type | Name | Description |
---|---|---|
IBgp | bgp | BGP. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessBindPattern(BindPattern, TContext)
Process a BindPattern.
Declaration
TResult ProcessBindPattern(BindPattern bindPattern, TContext context)
Parameters
Type | Name | Description |
---|---|---|
BindPattern | bindPattern | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessBindings(Bindings, TContext)
Processes a Bindings modifier.
Declaration
TResult ProcessBindings(Bindings b, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Bindings | b | Bindings. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessBoundFilter(BoundFilter, TContext)
Process a BoundFilter.
Declaration
TResult ProcessBoundFilter(BoundFilter filter, TContext context)
Parameters
Type | Name | Description |
---|---|---|
BoundFilter | filter | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessChainFilter(ChainFilter, TContext)
Process a ChainFilter.
Declaration
TResult ProcessChainFilter(ChainFilter filter, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ChainFilter | filter | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessDistinct(Distinct, TContext)
Processes a Distinct modifier.
Declaration
TResult ProcessDistinct(Distinct distinct, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Distinct | distinct | Distinct modifier. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessExistsJoin(IExistsJoin, TContext)
Processes an Exists Join.
Declaration
TResult ProcessExistsJoin(IExistsJoin existsJoin, TContext context)
Parameters
Type | Name | Description |
---|---|---|
IExistsJoin | existsJoin | Exists Join. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessExtend(Extend, TContext)
Processes an Extend.
Declaration
TResult ProcessExtend(Extend extend, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Extend | extend | Extend. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessFilter(IFilter, TContext)
Processes a Filter.
Declaration
TResult ProcessFilter(IFilter filter, TContext context)
Parameters
Type | Name | Description |
---|---|---|
IFilter | filter | Filter. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessFilterPattern(FilterPattern, TContext)
Process a FilterPattern.
Declaration
TResult ProcessFilterPattern(FilterPattern filterPattern, TContext context)
Parameters
Type | Name | Description |
---|---|---|
FilterPattern | filterPattern | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessGraph(Graph, TContext)
Processes a Graph.
Declaration
TResult ProcessGraph(Graph graph, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Graph | graph | Graph. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessGroupBy(GroupBy, TContext)
Processes a Group By.
Declaration
TResult ProcessGroupBy(GroupBy groupBy, TContext context)
Parameters
Type | Name | Description |
---|---|---|
GroupBy | groupBy | Group By. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessHaving(Having, TContext)
Processes a Having.
Declaration
TResult ProcessHaving(Having having, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Having | having | Having. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessJoin(IJoin, TContext)
Processes a Join.
Declaration
TResult ProcessJoin(IJoin join, TContext context)
Parameters
Type | Name | Description |
---|---|---|
IJoin | join | Join. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessLeftJoin(ILeftJoin, TContext)
Processes a LeftJoin.
Declaration
TResult ProcessLeftJoin(ILeftJoin leftJoin, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ILeftJoin | leftJoin | Left Join. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessLetPattern(LetPattern, TContext)
Process a LetPattern.
Declaration
TResult ProcessLetPattern(LetPattern letPattern, TContext context)
Parameters
Type | Name | Description |
---|---|---|
LetPattern | letPattern | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessMinus(IMinus, TContext)
Processes a Minus.
Declaration
TResult ProcessMinus(IMinus minus, TContext context)
Parameters
Type | Name | Description |
---|---|---|
IMinus | minus | Minus. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessNegatedPropertySet(NegatedPropertySet, TContext)
Processes a Negated Property Set.
Declaration
TResult ProcessNegatedPropertySet(NegatedPropertySet negPropSet, TContext context)
Parameters
Type | Name | Description |
---|---|---|
NegatedPropertySet | negPropSet | Negated Property Set. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessNullOperator(NullOperator, TContext)
Processes a Null Operator.
Declaration
TResult ProcessNullOperator(NullOperator nullOp, TContext context)
Parameters
Type | Name | Description |
---|---|---|
NullOperator | nullOp | Null Operator. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessOneOrMorePath(OneOrMorePath, TContext)
Processes a One or More Path.
Declaration
TResult ProcessOneOrMorePath(OneOrMorePath path, TContext context)
Parameters
Type | Name | Description |
---|---|---|
OneOrMorePath | path | Path. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessOrderBy(OrderBy, TContext)
Processes an Order By.
Declaration
TResult ProcessOrderBy(OrderBy orderBy, TContext context)
Parameters
Type | Name | Description |
---|---|---|
OrderBy | orderBy | |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessPropertyFunction(PropertyFunction, TContext)
Process a PropertyFunction.
Declaration
TResult ProcessPropertyFunction(PropertyFunction propertyFunction, TContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyFunction | propertyFunction | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessPropertyFunctionPattern(PropertyFunctionPattern, TContext)
Process a PropertyFunctionPattern.
Declaration
TResult ProcessPropertyFunctionPattern(PropertyFunctionPattern propFunctionPattern, TContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyFunctionPattern | propFunctionPattern | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessPropertyPath(PropertyPath, TContext)
Processes a Property Path.
Declaration
TResult ProcessPropertyPath(PropertyPath path, TContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyPath | path | Path. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessPropertyPathPattern(PropertyPathPattern, TContext)
Process a PropertyPathPattern.
Declaration
TResult ProcessPropertyPathPattern(PropertyPathPattern propertyPathPattern, TContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyPathPattern | propertyPathPattern | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessReduced(Reduced, TContext)
Processes a Reduced modifier.
Declaration
TResult ProcessReduced(Reduced reduced, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Reduced | reduced | Reduced modifier. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessSelect(Select, TContext)
Processes a Select.
Declaration
TResult ProcessSelect(Select select, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Select | select | Select. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessSelectDistinctGraphs(SelectDistinctGraphs, TContext)
Processes a Select Distinct Graphs.
Declaration
TResult ProcessSelectDistinctGraphs(SelectDistinctGraphs selDistGraphs, TContext context)
Parameters
Type | Name | Description |
---|---|---|
SelectDistinctGraphs | selDistGraphs | Select Distinct Graphs. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessService(Service, TContext)
Processes a Service.
Declaration
TResult ProcessService(Service service, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Service | service | Service. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessSingleValueRestrictionFilter(SingleValueRestrictionFilter, TContext)
Process a SingleValueRestrictionFilter.
Declaration
TResult ProcessSingleValueRestrictionFilter(SingleValueRestrictionFilter filter, TContext context)
Parameters
Type | Name | Description |
---|---|---|
SingleValueRestrictionFilter | filter | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessSlice(Slice, TContext)
Processes a Slice modifier.
Declaration
TResult ProcessSlice(Slice slice, TContext context)
Parameters
Type | Name | Description |
---|---|---|
Slice | slice | Slice modifier. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessSubQuery(SubQuery, TContext)
Processes a sub-query.
Declaration
TResult ProcessSubQuery(SubQuery subQuery, TContext context)
Parameters
Type | Name | Description |
---|---|---|
SubQuery | subQuery | Sub-query. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessSubQueryPattern(SubQueryPattern, TContext)
Process a SubQueryPattern.
Declaration
TResult ProcessSubQueryPattern(SubQueryPattern subQueryPattern, TContext context)
Parameters
Type | Name | Description |
---|---|---|
SubQueryPattern | subQueryPattern | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessTriplePattern(TriplePattern, TContext)
Process a TriplePattern.
Declaration
TResult ProcessTriplePattern(TriplePattern triplePattern, TContext context)
Parameters
Type | Name | Description |
---|---|---|
TriplePattern | triplePattern | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessUnaryExpressionFilter(UnaryExpressionFilter, TContext)
Process a UnaryExpressionFilter.
Declaration
TResult ProcessUnaryExpressionFilter(UnaryExpressionFilter filter, TContext context)
Parameters
Type | Name | Description |
---|---|---|
UnaryExpressionFilter | filter | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessUnion(IUnion, TContext)
Processes a Union.
Declaration
TResult ProcessUnion(IUnion union, TContext context)
Parameters
Type | Name | Description |
---|---|---|
IUnion | union | Union. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessUnknownOperator(ISparqlAlgebra, TContext)
Invoked to process any other algebra class not covered above. In particular engine-specific optimised algebra classes.
Declaration
TResult ProcessUnknownOperator(ISparqlAlgebra op, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | op | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
ProcessZeroLengthPath(ZeroLengthPath, TContext)
Processes a Zero Length Path.
Declaration
TResult ProcessZeroLengthPath(ZeroLengthPath path, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ZeroLengthPath | path | Path. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |
ProcessZeroOrMorePath(ZeroOrMorePath, TContext)
Processes a Zero or More Path.
Declaration
TResult ProcessZeroOrMorePath(ZeroOrMorePath zeroOrMorePath, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ZeroOrMorePath | zeroOrMorePath | Path. |
TContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
TResult |