public class LimitOptimizer extends AbstractQueryModelVisitor<OptimizationException> implements FedXOptimizer
Constructor and Description |
---|
LimitOptimizer() |
Modifier and Type | Method and Description |
---|---|
void |
meet(Projection proj) |
void |
meet(Slice node) |
void |
meetOther(QueryModelNode node) |
void |
optimize(TupleExpr tupleExpr)
Optimize the provided tuple expression
|
protected void |
pushLimit(FedXStatementPattern stmt,
long upperLimit) |
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, meet, meet, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetNode, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator, meetUpdateExpr
public void optimize(TupleExpr tupleExpr)
FedXOptimizer
optimize
in interface FedXOptimizer
public void meetOther(QueryModelNode node) throws OptimizationException
meetOther
in interface QueryModelVisitor<OptimizationException>
meetOther
in class AbstractQueryModelVisitor<OptimizationException>
OptimizationException
public void meet(Slice node) throws OptimizationException
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
OptimizationException
public void meet(Projection proj) throws OptimizationException
meet
in interface QueryModelVisitor<OptimizationException>
meet
in class AbstractQueryModelVisitor<OptimizationException>
OptimizationException
protected void pushLimit(FedXStatementPattern stmt, long upperLimit)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.