Class SameNodeJoin

  • All Implemented Interfaces:
    Condition

    public class SameNodeJoin
    extends AbstractCondition
    SameNodeJoin implements a same node join condition.
    • Constructor Detail

      • SameNodeJoin

        public SameNodeJoin​(MultiColumnQueryHits inner,
                            Name innerSelectorName,
                            org.apache.lucene.index.IndexReader reader)
                     throws IOException
        Creates a new same node join.
        Parameters:
        inner - the inner query hits.
        innerSelectorName - the selector name for the inner query hits.
        reader - the index reader.
        Throws:
        IOException - if an error occurs while reading from the index.
    • Method Detail

      • getMatchingScoreNodes

        public ScoreNode[][] getMatchingScoreNodes​(ScoreNode outer)
                                            throws IOException
        Returns the matching inner score nodes for the given outer score node sn.
        Parameters:
        outer - the current score nodes of the outer source.
        Returns:
        the matching score nodes in the inner source.
        Throws:
        IOException - if an error occurs while evaluating the condition.