|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fuberlin.wiwiss.d2rq.engine.PushDownOpFilterVisitor
public class PushDownOpFilterVisitor
Visitor for traversing the operator-tree, moving down any filter conditions as far as possible.
Constructor Summary | |
---|---|
PushDownOpFilterVisitor()
|
Method Summary | |
---|---|
Op |
result()
Returns the changed operator-tree |
static Op |
transform(Op op)
|
void |
visit(OpAssign opAssign)
|
void |
visit(OpBGP op)
When there are some filterexpressions which belong to an OpBGP, the OpBGP will be converted to an OpFilteredBGP. |
void |
visit(OpConditional opCondition)
|
void |
visit(OpDatasetNames dsNames)
|
void |
visit(OpDiff opDiff)
When visiting an OpDiff 3 conditions for moving down the filterconditions are checked. |
void |
visit(OpDisjunction opDisjunction)
|
void |
visit(OpDistinct opDistinct)
|
void |
visit(OpExt opExt)
|
void |
visit(OpExtend opExtend)
|
void |
visit(OpFilter opFilter)
When visiting an OpFilter, all its filterconditions are collected during the top-down-stepping. |
void |
visit(OpGraph opGraph)
|
void |
visit(OpGroup opGroup)
|
void |
visit(OpJoin opJoin)
When visiting an OpJoin 3 conditions for moving down the filterconditions are checked. |
void |
visit(OpLabel opLabel)
|
void |
visit(OpLeftJoin opLeftJoin)
When visiting an OpJoin 2 conditions for moving down the filterconditions are checked. |
void |
visit(OpList opList)
|
void |
visit(OpMinus opMinus)
TODO I have no clue if this actually works Filter(A-B,e) = Filter(A,e)-B |
void |
visit(OpNull opNull)
|
void |
visit(OpOrder opOrder)
|
void |
visit(OpPath opPath)
|
void |
visit(OpProcedure opProc)
|
void |
visit(OpProject opProject)
|
void |
visit(OpPropFunc opPropFunc)
|
void |
visit(OpQuad opQuad)
|
void |
visit(OpQuadPattern quadPattern)
|
void |
visit(OpReduced opReduced)
|
void |
visit(OpSequence opSequence)
|
void |
visit(OpService opService)
|
void |
visit(OpSlice opSlice)
|
void |
visit(OpTable opTable)
|
void |
visit(OpTopN opTop)
|
void |
visit(OpTriple opTriple)
|
void |
visit(OpUnion opUnion)
When visiting an OpUnion also 3 conditions for moving down the filterconditions are checked. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PushDownOpFilterVisitor()
Method Detail |
---|
public static Op transform(Op op)
public Op result()
public void visit(OpFilter opFilter)
visit
in interface OpVisitor
public void visit(OpUnion opUnion)
visit
in interface OpVisitor
public void visit(OpJoin opJoin)
visit
in interface OpVisitor
public void visit(OpBGP op)
visit
in interface OpVisitor
public void visit(OpDiff opDiff)
visit
in interface OpVisitor
public void visit(OpConditional opCondition)
visit
in interface OpVisitor
public void visit(OpProcedure opProc)
visit
in interface OpVisitor
public void visit(OpPropFunc opPropFunc)
visit
in interface OpVisitor
public void visit(OpTable opTable)
visit
in interface OpVisitor
public void visit(OpQuadPattern quadPattern)
visit
in interface OpVisitor
public void visit(OpPath opPath)
visit
in interface OpVisitor
public void visit(OpTriple opTriple)
visit
in interface OpVisitor
public void visit(OpDatasetNames dsNames)
visit
in interface OpVisitor
public void visit(OpSequence opSequence)
visit
in interface OpVisitor
public void visit(OpLeftJoin opLeftJoin)
visit
in interface OpVisitor
public void visit(OpGraph opGraph)
visit
in interface OpVisitor
public void visit(OpService opService)
visit
in interface OpVisitor
public void visit(OpExt opExt)
visit
in interface OpVisitor
public void visit(OpNull opNull)
visit
in interface OpVisitor
public void visit(OpLabel opLabel)
visit
in interface OpVisitor
public void visit(OpList opList)
visit
in interface OpVisitor
public void visit(OpOrder opOrder)
visit
in interface OpVisitor
public void visit(OpProject opProject)
visit
in interface OpVisitor
public void visit(OpDistinct opDistinct)
visit
in interface OpVisitor
public void visit(OpReduced opReduced)
visit
in interface OpVisitor
public void visit(OpAssign opAssign)
visit
in interface OpVisitor
public void visit(OpSlice opSlice)
visit
in interface OpVisitor
public void visit(OpGroup opGroup)
visit
in interface OpVisitor
public void visit(OpExtend opExtend)
visit
in interface OpVisitor
public void visit(OpMinus opMinus)
visit
in interface OpVisitor
public void visit(OpDisjunction opDisjunction)
visit
in interface OpVisitor
public void visit(OpTopN opTop)
visit
in interface OpVisitor
public void visit(OpQuad opQuad)
visit
in interface OpVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |