public class ChildNodeJoin extends AbstractCondition
ChildNodeJoin
implements a child node join condition.inner
Constructor and Description |
---|
ChildNodeJoin(MultiColumnQueryHits parent,
org.apache.lucene.index.IndexReader reader,
HierarchyResolver resolver,
ChildNodeJoinConditionImpl condition)
Creates a new child node join condition.
|
Modifier and Type | Method and Description |
---|---|
ScoreNode[][] |
getMatchingScoreNodes(ScoreNode child)
Returns the matching inner score nodes for the given outer score node
sn . |
close, getIndex, getInnerSelectorNames
public ChildNodeJoin(MultiColumnQueryHits parent, org.apache.lucene.index.IndexReader reader, HierarchyResolver resolver, ChildNodeJoinConditionImpl condition) throws IOException
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.public ScoreNode[][] getMatchingScoreNodes(ScoreNode child) throws IOException
sn
.
The outer query hits loop contains the child nodes.
child
- the current score nodes of the outer source.IOException
- if an error occurs while evaluating the condition.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.