public class GenericInfoOptimizer extends AbstractQueryModelVisitor<OptimizationException> implements FedXOptimizer
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasFilter |
protected boolean |
hasUnion |
protected long |
limit |
protected QueryInfo |
queryInfo |
protected List<Service> |
services |
protected List<StatementPattern> |
stmts |
Constructor and Description |
---|
GenericInfoOptimizer(QueryInfo queryInfo) |
Modifier and Type | Method and Description |
---|---|
long |
getLimit() |
List<Service> |
getServices() |
List<StatementPattern> |
getStatements() |
boolean |
hasFilter() |
boolean |
hasLimit() |
boolean |
hasService() |
boolean |
hasUnion() |
void |
meet(Filter filter) |
void |
meet(Join node) |
void |
meet(LeftJoin node) |
void |
meet(Projection node) |
void |
meet(Service service) |
void |
meet(Slice node) |
void |
meet(StatementPattern node) |
void |
meet(Union union) |
void |
optimize(TupleExpr tupleExpr)
Optimize the provided tuple expression
|
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, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator, meetUpdateExpr
protected boolean hasFilter
protected boolean hasUnion
protected long limit
protected List<StatementPattern> stmts
protected final QueryInfo queryInfo
public GenericInfoOptimizer(QueryInfo queryInfo)
public boolean hasFilter()
public boolean hasUnion()
public List<StatementPattern> getStatements()
public boolean hasLimit()
public long getLimit()
public void optimize(TupleExpr tupleExpr)
FedXOptimizer
optimize
in interface FedXOptimizer
public void meet(Union union)
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
public void meet(Filter filter)
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
public void meet(Service service)
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
public void meet(Join node)
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
public void meet(LeftJoin node) throws OptimizationException
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
OptimizationException
public void meet(StatementPattern node)
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
public void meet(Projection node) throws OptimizationException
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
OptimizationException
public void meet(Slice node) throws OptimizationException
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
OptimizationException
public boolean hasService()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.