public class Algebra extends Object
Constructor and Description |
---|
Algebra() |
Modifier and Type | Method and Description |
---|---|
static boolean |
compatible(Binding bindingLeft,
Binding bindingRight) |
static Op |
compile(Element elt)
Compile a pattern.
|
static Op |
compile(Query query)
Compile a query - pattern and modifiers.
|
static boolean |
disjoint(Binding binding1,
Binding binding2) |
static QueryIterator |
exec(Op op,
Dataset ds) |
static QueryIterator |
exec(Op op,
DatasetGraph ds) |
static QueryIterator |
exec(Op op,
Graph graph) |
static QueryIterator |
exec(Op op,
Model model) |
static QueryIterator |
execRef(Op op,
Dataset ds) |
static QueryIterator |
execRef(Op op,
DatasetGraph dsg) |
static QueryIterator |
execRef(Op op,
Graph graph) |
static QueryIterator |
execRef(Op op,
Model model) |
static Binding |
merge(Binding bindingLeft,
Binding bindingRight) |
static Op |
optimize(Op op)
Apply static transformations to a query to optimize it
|
static Op |
optimize(Op op,
Context context)
Apply static transformations to a query to optimize it
|
static Op |
parse(Item item) |
static Op |
parse(String string) |
static Op |
parse(String string,
PrefixMapping pmap) |
static Op |
read(String filename) |
static Op |
toQuadForm(Op op)
Turn an algebra expression into quad form
|
static Op |
unionDefaultGraph(Op op)
Transform an algebra expression so that default graph is union of the named graphs.
|
public static Op optimize(Op op, Context context)
public static Op unionDefaultGraph(Op op)
public static Op parse(String string, PrefixMapping pmap)
public static QueryIterator exec(Op op, Dataset ds)
public static QueryIterator exec(Op op, Model model)
public static QueryIterator exec(Op op, Graph graph)
public static QueryIterator exec(Op op, DatasetGraph ds)
public static QueryIterator execRef(Op op, Dataset ds)
public static QueryIterator execRef(Op op, Model model)
public static QueryIterator execRef(Op op, Graph graph)
public static QueryIterator execRef(Op op, DatasetGraph dsg)
Licenced under the Apache License, Version 2.0