Package org.apache.jena.sparql.algebra
Class Algebra
- java.lang.Object
-
- org.apache.jena.sparql.algebra.Algebra
-
public class Algebra extends java.lang.ObjectUtilities to produce SPARQL algebra
-
-
Constructor Summary
Constructors Constructor Description Algebra()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancompatible(Binding bindingLeft, Binding bindingRight)static Opcompile(Query query)Compile a query - pattern and modifiers.static Opcompile(Element elt)Compile a pattern.static booleandisjoint(Binding binding1, Binding binding2)static QueryIteratorexec(Op op, Graph graph)static QueryIteratorexec(Op op, Dataset ds)static QueryIteratorexec(Op op, Model model)static QueryIteratorexec(Op op, DatasetGraph ds)static QueryIteratorexecRef(Op op, Graph graph)static QueryIteratorexecRef(Op op, Dataset ds)static QueryIteratorexecRef(Op op, Model model)static QueryIteratorexecRef(Op op, DatasetGraph dsg)static Bindingmerge(Binding bindingLeft, Binding bindingRight)static Opoptimize(Op op)Apply static transformations to a query to optimize itstatic Opoptimize(Op op, Context context)Apply static transformations to a query to optimize itstatic Opparse(java.lang.String string)static Opparse(java.lang.String string, PrefixMapping pmap)static Opparse(Item item)static Opread(java.lang.String filename)static OptoQuadBlockForm(Op op)Turn an algebra expression into quadblock formstatic OptoQuadForm(Op op)Turn an algebra expression into quadpattern form
-
-
-
Method Detail
-
optimize
public static Op optimize(Op op, Context context)
Apply static transformations to a query to optimize it
-
toQuadBlockForm
public static Op toQuadBlockForm(Op op)
Turn an algebra expression into quadblock form
-
read
public static Op read(java.lang.String filename)
-
parse
public static Op parse(java.lang.String string)
-
parse
public static Op parse(java.lang.String string, PrefixMapping pmap)
-
exec
public static QueryIterator exec(Op op, Dataset ds)
-
exec
public static QueryIterator exec(Op op, Model model)
-
exec
public static QueryIterator exec(Op op, Graph graph)
-
exec
public static QueryIterator exec(Op op, DatasetGraph ds)
-
execRef
public static QueryIterator execRef(Op op, Dataset ds)
-
execRef
public static QueryIterator execRef(Op op, Model model)
-
execRef
public static QueryIterator execRef(Op op, Graph graph)
-
execRef
public static QueryIterator execRef(Op op, DatasetGraph dsg)
-
-