Class 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