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