Class ChildNodeJoin

  • All Implemented Interfaces:

    public class ChildNodeJoin
    extends AbstractCondition
    ChildNodeJoin implements a child node join condition.
    • Constructor Detail

      • ChildNodeJoin

        public ChildNodeJoin​(MultiColumnQueryHits parent,
                             org.apache.lucene.index.IndexReader reader,
                             HierarchyResolver resolver,
                             ChildNodeJoinConditionImpl condition)
                      throws IOException
        Creates a new child node join condition.
        parent - the inner query hits.
        reader - the index reader.
        resolver - the hierarchy resolver.
        condition - the QOM child node join condition.
        IOException - if an error occurs while reading from the index.
    • Method Detail

      • getMatchingScoreNodes

        public ScoreNode[][] getMatchingScoreNodes​(ScoreNode child)
                                            throws IOException
        Returns the matching inner score nodes for the given outer score node sn.

        The outer query hits loop contains the child nodes.

        child - the current score nodes of the outer source.
        the matching score nodes in the inner source.
        IOException - if an error occurs while evaluating the condition.