java.lang.Object
org.apache.jena.sparql.algebra.AlgebraGenerator
Class used to compile SPARQL queries into SPARQL algebra.
This is the SPARQL standard defined process of abstract syntax to algebra.
-
Constructor Summary
ConstructorDescriptionCreate a new generatorAlgebraGenerator
(Context context) Create a new generator -
Method Summary
-
Constructor Details
-
AlgebraGenerator
Create a new generator- Parameters:
context
- Context
-
AlgebraGenerator
public AlgebraGenerator()Create a new generator
-
-
Method Details
-
compile
Compile a queryDO NOT call recursively
- Parameters:
query
- Query to compile- Returns:
- Compiled algebra
-
compile
Compile any structural element- Parameters:
elt
- Element- Returns:
- Compiled algebra
-