Class ContextCollector
- java.lang.Object
-
- org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor<Exception>
-
- org.eclipse.rdf4j.queryrender.sparql.ContextCollector
-
- All Implemented Interfaces:
QueryModelVisitor<Exception>
public class ContextCollector extends AbstractQueryModelVisitor<Exception>
Visitor implementation for the query algebra which walks the tree and figures out the context for nodes in the algebra. The context for a node is set on the highest node in the tree. That is, everything below it shares the same context.
- Author:
- Blazej Bulka
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
meet(Difference theOp)
void
meet(Filter theFilter)
void
meet(Intersection theOp)
void
meet(Join theJoin)
void
meet(LeftJoin theJoin)
void
meet(StatementPattern thePattern)
void
meet(Union theOp)
-
Methods inherited from class org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor
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, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator, meetUpdateExpr
-
-
-
-
Method Detail
-
meet
public void meet(Join theJoin) throws Exception
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
public void meet(LeftJoin theJoin) throws Exception
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
public void meet(Union theOp) throws Exception
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
public void meet(Difference theOp) throws Exception
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
public void meet(Intersection theOp) throws Exception
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
public void meet(Filter theFilter) throws Exception
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
meet
public void meet(StatementPattern thePattern) throws Exception
- Specified by:
meet
in interfaceQueryModelVisitor<Exception>
- Overrides:
meet
in classAbstractQueryModelVisitor<Exception>
- Throws:
Exception
-
-