Class LeviathanQueryProcessor
Default SPARQL Query Processor provided by the library's Leviathan SPARQL Engine.
Inheritance
System.Object
LeviathanQueryProcessor
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)
System.Object.ToString()
Assembly: dotNetRDF.dll
Syntax
public class LeviathanQueryProcessor : ISparqlQueryProcessor, ISparqlQueryAlgebraProcessor<BaseMultiset, SparqlEvaluationContext>
Constructors
|
Improve this Doc
View Source
LeviathanQueryProcessor(IInMemoryQueryableStore)
Creates a new Leviathan Query Processor.
Declaration
public LeviathanQueryProcessor(IInMemoryQueryableStore store)
Parameters
|
Improve this Doc
View Source
LeviathanQueryProcessor(ISparqlDataset)
Creates a new Leviathan Query Processor.
Declaration
public LeviathanQueryProcessor(ISparqlDataset data)
Parameters
Methods
|
Improve this Doc
View Source
GetContext()
Creates a new Evaluation Context.
Declaration
protected SparqlEvaluationContext GetContext()
Returns
|
Improve this Doc
View Source
ProcessAlgebra(ISparqlAlgebra, SparqlEvaluationContext)
Processes SPARQL Algebra.
Declaration
public BaseMultiset ProcessAlgebra(ISparqlAlgebra algebra, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessAsk(Ask, SparqlEvaluationContext)
Processes an Ask.
Declaration
public virtual BaseMultiset ProcessAsk(Ask ask, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessBgp(IBgp, SparqlEvaluationContext)
Processes a BGP.
Declaration
public virtual BaseMultiset ProcessBgp(IBgp bgp, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessBindings(Bindings, SparqlEvaluationContext)
Processes a Bindings modifier.
Declaration
public virtual BaseMultiset ProcessBindings(Bindings b, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessDistinct(Distinct, SparqlEvaluationContext)
Processes a Distinct modifier.
Declaration
public virtual BaseMultiset ProcessDistinct(Distinct distinct, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessExistsJoin(IExistsJoin, SparqlEvaluationContext)
Processes an Exists Join.
Declaration
public virtual BaseMultiset ProcessExistsJoin(IExistsJoin existsJoin, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessExtend(Extend, SparqlEvaluationContext)
Processes an Extend.
Declaration
public virtual BaseMultiset ProcessExtend(Extend extend, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessFilter(IFilter, SparqlEvaluationContext)
Processes a Filter.
Declaration
public virtual BaseMultiset ProcessFilter(IFilter filter, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessGraph(Graph, SparqlEvaluationContext)
Processes a Graph.
Declaration
public virtual BaseMultiset ProcessGraph(Graph graph, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessGroupBy(GroupBy, SparqlEvaluationContext)
Processes a Group By.
Declaration
public virtual BaseMultiset ProcessGroupBy(GroupBy groupBy, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessHaving(Having, SparqlEvaluationContext)
Processes a Having.
Declaration
public virtual BaseMultiset ProcessHaving(Having having, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessJoin(IJoin, SparqlEvaluationContext)
Processes a Join.
Declaration
public virtual BaseMultiset ProcessJoin(IJoin join, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessLeftJoin(ILeftJoin, SparqlEvaluationContext)
Processes a LeftJoin.
Declaration
public virtual BaseMultiset ProcessLeftJoin(ILeftJoin leftJoin, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessMinus(IMinus, SparqlEvaluationContext)
Processes a Minus.
Declaration
public virtual BaseMultiset ProcessMinus(IMinus minus, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessNegatedPropertySet(NegatedPropertySet, SparqlEvaluationContext)
Processes a Negated Property Set.
Declaration
public virtual BaseMultiset ProcessNegatedPropertySet(NegatedPropertySet negPropSet, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessNullOperator(NullOperator, SparqlEvaluationContext)
Processes a Null Operator.
Declaration
public virtual BaseMultiset ProcessNullOperator(NullOperator nullOp, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessOneOrMorePath(OneOrMorePath, SparqlEvaluationContext)
Processes a One or More Path.
Declaration
public virtual BaseMultiset ProcessOneOrMorePath(OneOrMorePath path, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessOrderBy(OrderBy, SparqlEvaluationContext)
Processes an Order By.
Declaration
public virtual BaseMultiset ProcessOrderBy(OrderBy orderBy, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessPropertyPath(PropertyPath, SparqlEvaluationContext)
Processes a Property Path.
Declaration
public virtual BaseMultiset ProcessPropertyPath(PropertyPath path, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery)
Processes a SPARQL Query sending the results to a RDF/SPARQL Results handler as appropriate.
Declaration
public void ProcessQuery(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, SparqlQuery query)
Parameters
|
Improve this Doc
View Source
ProcessQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery, QueryCallback, Object)
Processes a SPARQL Query asynchronously passing the results to the relevant handler and invoking the callback when the query completes.
Declaration
public void ProcessQuery(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, SparqlQuery query, QueryCallback callback, object state)
Parameters
Remarks
|
Improve this Doc
View Source
ProcessQuery(SparqlQuery)
Processes a SPARQL Query.
Declaration
public object ProcessQuery(SparqlQuery query)
Parameters
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
ProcessQuery(SparqlQuery, GraphCallback, SparqlResultsCallback, Object)
Processes a SPARQL Query asynchronously invoking the relevant callback when the query completes.
Declaration
public void ProcessQuery(SparqlQuery query, GraphCallback rdfCallback, SparqlResultsCallback resultsCallback, object state)
Parameters
Type |
Name |
Description |
SparqlQuery |
query |
SPARQL QUery. |
GraphCallback |
rdfCallback |
Callback for queries that return a Graph. |
SparqlResultsCallback |
resultsCallback |
Callback for queries that return a Result Set. |
System.Object |
state |
State to pass to the callback. |
|
Improve this Doc
View Source
ProcessReduced(Reduced, SparqlEvaluationContext)
Processes a Reduced modifier.
Declaration
public virtual BaseMultiset ProcessReduced(Reduced reduced, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessSelect(Select, SparqlEvaluationContext)
Processes a Select.
Declaration
public virtual BaseMultiset ProcessSelect(Select select, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessSelectDistinctGraphs(SelectDistinctGraphs, SparqlEvaluationContext)
Processes a Select Distinct Graphs.
Declaration
public virtual BaseMultiset ProcessSelectDistinctGraphs(SelectDistinctGraphs selDistGraphs, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessService(Service, SparqlEvaluationContext)
Processes a Service.
Declaration
public virtual BaseMultiset ProcessService(Service service, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessSlice(Slice, SparqlEvaluationContext)
Processes a Slice modifier.
Declaration
public virtual BaseMultiset ProcessSlice(Slice slice, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessSubQuery(SubQuery, SparqlEvaluationContext)
Processes a Subquery.
Declaration
public virtual BaseMultiset ProcessSubQuery(SubQuery subquery, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessUnion(IUnion, SparqlEvaluationContext)
Processes a Union.
Declaration
public virtual BaseMultiset ProcessUnion(IUnion union, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessUnknownOperator(ISparqlAlgebra, SparqlEvaluationContext)
Processes a Unknown Operator.
Declaration
public virtual BaseMultiset ProcessUnknownOperator(ISparqlAlgebra algebra, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessZeroLengthPath(ZeroLengthPath, SparqlEvaluationContext)
Processes a Zero Length Path.
Declaration
public virtual BaseMultiset ProcessZeroLengthPath(ZeroLengthPath path, SparqlEvaluationContext context)
Parameters
Returns
|
Improve this Doc
View Source
ProcessZeroOrMorePath(ZeroOrMorePath, SparqlEvaluationContext)
Processes a Zero or More Path.
Declaration
public virtual BaseMultiset ProcessZeroOrMorePath(ZeroOrMorePath path, SparqlEvaluationContext context)
Parameters
Returns
Implements
Extension Methods