public class DPQueryDecomposer extends Object implements QueryDecomposer
Dynamic programming implementation of the eu.semagrow.core.decomposer.QueryDecomposer interface.
Constructor and Description |
---|
DPQueryDecomposer(CostEstimator estimator,
CardinalityEstimator cardinalityEstimator,
SourceSelector selector) |
Modifier and Type | Method and Description |
---|---|
void |
decompose(org.openrdf.query.algebra.TupleExpr expr,
org.openrdf.query.Dataset dataset,
org.openrdf.query.BindingSet bindings)
This method is the entry point to the Semagrow Stack that is called
by the HTTP endpoint implementation in eu.semagrow.stack.webapp
|
public DPQueryDecomposer(CostEstimator estimator, CardinalityEstimator cardinalityEstimator, SourceSelector selector)
@Loggable public void decompose(org.openrdf.query.algebra.TupleExpr expr, org.openrdf.query.Dataset dataset, org.openrdf.query.BindingSet bindings)
This methods edits expr
in place to decompose it into the
sub-expressions that will be executed at each data source and to
annotate it with the execution plan.
decompose
in interface QueryDecomposer
expr
- The expression that will be decomposed. It must be an instance of eu.semagrow.core.impl.algebra.QueryRootdataset
- bindings
- Copyright © 2015 SemaGrow - FP7. All rights reserved.