java.lang.Object
org.apache.jena.sparql.engine.main.StageBuilder
The stage builder (there is only one) is a library that encapsulates
evaluation of a basic graph pattern (BGP). Matching BGPs is an extension
point of SPARQL; different entailment regimes plug in at this point.
They are also an extension point in ARQ to connect to any datasource,
the most common case being connecting to a Jena graph.
The StageBuilder finds the registered StageGenerator, and calls it to
evaluate a basic graph pattern that has any bound variables
replaced by their value (in effect, an index join).
Extension happens by registering a different StageGenerator in
the context object for the execution. Setting the StageGenerator
in the global context (
ARQ
) makes it available
to all query execution created after the point of setting.
Helper static methods for setting the stage generator are provided.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StageGenerator
chooseStageGenerator
(Context context) static StageGenerator
static StageGenerator
getGenerator
(Context context) static void
setGenerator
(Context context, StageGenerator stageGenerator) static StageGenerator
-
Field Details
-
executeInline
The plain StageGenerator, no reordering
-
-
Constructor Details
-
StageBuilder
public StageBuilder()
-
-
Method Details
-
setGenerator
-
getGenerator
-
getGenerator
-
standardGenerator
-
chooseStageGenerator
-