public class FederationJoinOptimizer extends AbstractQueryModelVisitor<RepositoryException> implements QueryOptimizer
Constructor and Description |
---|
FederationJoinOptimizer(Collection<? extends RepositoryConnection> members,
boolean distinct,
PrefixHashSet localSpace) |
FederationJoinOptimizer(Collection<? extends RepositoryConnection> members,
boolean distinct,
PrefixHashSet localSpace,
java.util.function.Function<? super Repository,? extends RepositoryBloomFilter> bloomFilters) |
Modifier and Type | Method and Description |
---|---|
void |
meet(LeftJoin node) |
void |
meet(Union node) |
void |
meetMultiJoin(NaryJoin node) |
void |
meetOther(QueryModelNode node) |
protected void |
meetUnaryTupleOperator(UnaryTupleOperator node)
Method called by all meet methods with a
UnaryTupleOperator node as argument. |
void |
optimize(TupleExpr query,
Dataset dataset,
BindingSet bindings) |
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetNode, meetSubQueryValueOperator, meetUnaryValueOperator, meetUpdateExpr
public FederationJoinOptimizer(Collection<? extends RepositoryConnection> members, boolean distinct, PrefixHashSet localSpace)
public FederationJoinOptimizer(Collection<? extends RepositoryConnection> members, boolean distinct, PrefixHashSet localSpace, java.util.function.Function<? super Repository,? extends RepositoryBloomFilter> bloomFilters)
public void optimize(TupleExpr query, Dataset dataset, BindingSet bindings)
optimize
in interface QueryOptimizer
public void meetOther(QueryModelNode node) throws RepositoryException
meetOther
in interface QueryModelVisitor<RepositoryException>
meetOther
in class AbstractQueryModelVisitor<RepositoryException>
RepositoryException
public void meetMultiJoin(NaryJoin node) throws RepositoryException
RepositoryException
public void meet(LeftJoin node) throws RepositoryException
meet
in interface QueryModelVisitor<RepositoryException>
meet
in class AbstractQueryModelVisitor<RepositoryException>
RepositoryException
public void meet(Union node) throws RepositoryException
meet
in interface QueryModelVisitor<RepositoryException>
meet
in class AbstractQueryModelVisitor<RepositoryException>
RepositoryException
protected void meetUnaryTupleOperator(UnaryTupleOperator node) throws RepositoryException
AbstractQueryModelVisitor
UnaryTupleOperator
node as argument. Forwards the call
to AbstractQueryModelVisitor.meetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.meetUnaryTupleOperator
in class AbstractQueryModelVisitor<RepositoryException>
node
- The node that is being visited.RepositoryException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.